Skip to content Skip to sidebar Skip to footer

Nodejs Server Doesn't Respond When Clients Use Vpn Or Proxy

i have a simple noedjs server running on port 3001 of my server im using this nodejs server along side of my website which runs on port 80 via some webserver (not sure what someone

Solution 1:

If your VPN/Proxy has a firewall integrated, it might just not allow connection to a majority of unusual ports. (3001 isn't usual compared to 80 for example which couldn't be blocked without losing access to every websites in the world)

Your best option to verify this would be to use a reverse proxy, either on apache or nginx to try mapping your 3001 port to a 80 port but on a different url.

Example: 88.198.164.43/node ---proxying---> 88.198.164.43:3001.

See the config for apache: https://stackoverflow.com/a/52185402/3415561

Or the config for nginx: https://stackoverflow.com/a/10375750/3415561

Post a Comment for "Nodejs Server Doesn't Respond When Clients Use Vpn Or Proxy"