GNS3 / gns3-web-ui

WebUI implementation for GNS3
GNU General Public License v3.0
146 stars 51 forks source link

Unable to add additional servers, "Cannot connect to the server: Error: Server is unreachable" #1145

Open eantowne opened 3 years ago

eantowne commented 3 years ago

When attempting to add additional servers, receiving error of "Cannot connect to the server: Error: Server is unreachable". The remote server IS running, and I can access it via it's own Web-UI.

Remote-Server-Web-UI Unable-to-add-additional-server

eantowne commented 2 years ago

Servers widget displays server 2, but not shown in "Servers" page.

eantowne commented 2 years ago

I think the display of server 2 in the servers page after adding via desktop UI is a separate issue.

diniz2010 commented 1 year ago

Greetings everyone. I'm working with the GNS3 Web UI 2.2.34dev version, running npx, and I encounter the same problem when I declare the server IP through the npx http-server command. Using localhost I can add servers, but when I declare the IP address of the Web UI, to access through other clients, I am unable to add servers. Do we have any solution?

amirdeadline commented 1 year ago

is there any update on this issue? any workaround?

diniz2010 commented 1 year ago

From what I've checked the latest version still doesn't offer a solution to the problem. To resolve this, I compiled the web ui on an external server and replaced the respective /dist directory with the /web-ui directory of the GNS3 VM. This solved it for me, because I modified the Web UI interface and I can access it through the IP address of the GNS3 VM, without having to add a remote server, as this uses the local server.