Not able to access local server running after VPN connection
I have local application server running and I can access it using http://localhost:4554
.
If I connect to VPN not able to load above url. I am using dongle to connect to internet.
Please help!
To connect to localhost
you must be connected to the same network as the device that is hosting the files. When you connect to a VPN however this is not the case. When you connect to a VPN it is similar to being on a completely different network as your external ip address will change therefore the local files cannot be reached. To access localhost
in this case what you have to do is
localhost
. At this point you should be connected to the your local server. Using 127.0.0.1 instead of localhost as my host in the mysql connection settings solved the issue for me. I am on Avaya VPN
链接地址: http://www.djcxy.com/p/28396.html上一篇: MYSQL Group按列分组,每行2行
下一篇: 无法访问VPN连接后运行的本地服务器