javascript - Websocket connection not working on mobile browser -


i trying node js application websocket connection.

websocket = new websocket("ws://127.0.0.1:8888"); 

this working fine desktop browsers. not work mobile browsers.

please let me know doing wrong.

solved it.

i needed use public ip of pc instead of 127.0.0.1


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -