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!
On the client PC, right-click Start and go to Network Connections. Click on VPN and then Add a VPN connection. Set VPN provider to Windows (built-in) and write a Connection name. At Server name or address, type the public IP address of the host PC.
In order to simultaneously access the local and remote VPN network you need to enable a feature called split-tunneling. Due the security reasons outlined above, I do not recommend enabling this, however in some cases it is necessary or perhaps you just wanted to know why.
If your VPN software is not working properly, you can do several things: check your network settings, change your server, make sure the right ports are opened, disable the firewall, and reinstall your VPN software. If none of the below methods are working, it's time to contact your VPN provider.
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
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. One problem might cause this kind of behavior. If you are connected to a corporate network by VPN, the VPN connection will change the search domain, for example, mycompany.corp.
On the other hand, some systems in the corporate network might register themselves as 'localhost.mycompany.corp' ( this should be a mistake ).
The result is localhost.mycompany.corp will now be resolved to a private IP like 10.xx.xx.xx, and when you tried to access http://localhost:4554/ , the request is sent to 10.xx.xx.xx port 4554, instead of the supposed 127.0.0.1 port 4544.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With