2

I wanted to test my ReactJS + NodeJS website on another machine on my LAN, so I changed the server host ip from localhost to 0.0.0.0 as described in this answer. I noticed that although I could access the server from a remote machine, all I could see was the title and favicon (the rest was a blank page). I tried another approach of using the ngrok module as described here (which happens to be the answer to the same question as the previous link). I still got the same blank page.

The GET requests to the server are shown below (as shown by ngrok).

GET requests to the server shown by ngrok

/landing is a page I was trying to access. Can someone explain whats happening?

PS: The server is running on a Mac and I'm trying to access the page on an Ubuntu machine. Also, I'm using this react-redux boilerplate. Webpack is also being used along with hot reloading.

Community
  • 1
  • 1
AndyFaizan
  • 1,833
  • 21
  • 30

1 Answers1

0

Did you try changing port settings in firewall?

Go to firewall settings and allow the respective port for inbound

ketankk
  • 2,578
  • 1
  • 29
  • 27