I am using a node js application and I have several URL access available in the project like.
websocket = new WebSocket("ws://172.20.10.4:8888");
And http access
var getusersurl = "http://172.20.10.4:8888/users";
If I start the same application in another machine, The IP address will be different and I would need to modify the application.
If I am using localhost, then the application will not work when accessed from Mobile browser/
via Shamnad P S
No comments:
Post a Comment