Answer the question
In order to leave comments, you need to log in
How to connect to your web socket server from the Internet, which is on the local machine?
Started learning node.js. Wrote a simple chat that works on a local web server (apache). But you need to bring this chat to the Internet, that's the problem. Unable to connect to websocket from internet. The site has global access through my ip, and when accessing it outside the local network, the web socket is not available. How to fix?
Answer the question
In order to leave comments, you need to log in
If you have a white ip, then it will be enough to forward the ports on the router.
If there is no white ip, use DDNS services, you can configure it on most modern routers or as an application for a PC.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question