You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running my app server (NextJS + FeathersJS) on localhost:3030 and for mobile testing I am accessing it from my mobile Chrome browser. I am seeing on mobile Chrome browser, the ping is failing as NextJS is trying to ping localhost which obviously will not be accessible from mobile browser. Can't we configure to ping the app server domain / IP:PORT than localhost always ? Looks like due to this the SocketIO (realtime updates of data) functionality in app is not working on mobile browser. The same functionality is working perfectly fine when tested on Desktop browser of localhost machine. PFA the screenshot. Took screenshot of mobile using Chrome's remote debug feature.
The text was updated successfully, but these errors were encountered:
gauravdhiman
changed the title
NextJS pings localserver than the app server.
NextJS pings localhost server than the remote app server.
Mar 14, 2018
Apologies, it was my wrong configuration of App Server. I should not have run to report it :-(
I don't think there is an option to delete an issue, so closing this issue.
I am running my app server (NextJS + FeathersJS) on
![ping-from-mobile-browser](https://user-images.githubusercontent.com/5612223/37378357-1755632e-26ec-11e8-8f24-a6402d4297c1.png)
localhost:3030
and for mobile testing I am accessing it from my mobile Chrome browser. I am seeing on mobile Chrome browser, the ping is failing as NextJS is trying to pinglocalhost
which obviously will not be accessible from mobile browser. Can't we configure to ping the app server domain / IP:PORT than localhost always ? Looks like due to this the SocketIO (realtime updates of data) functionality in app is not working on mobile browser. The same functionality is working perfectly fine when tested on Desktop browser of localhost machine. PFA the screenshot. Took screenshot of mobile using Chrome's remote debug feature.The text was updated successfully, but these errors were encountered: