Reputation: 11
I created my App from this boilerplate https://github.com/Bikranshu/express-react-boilerplate
Now I uploaded it to a live Linux server and Node server is running. Screenshot of running server
But I am unable to access it through Browser with IP address of server. http://ip_address:3000 After waiting long in browser it is showing timeout error. Please guide me how can I access the node/react app from browser.
Upvotes: 0
Views: 101
Reputation: 46
Server running at <ipaddress>
is a local IP, are you in a different network than the server? If so, you should be typing https://<public ipaddress>:3000
UPDATE
Hosting services usually only forward port 80 (http) or 443 (https.) This means that your port 3000 is not allowed for public access. To fix your problem you need to change the listening port.
Check line 42 on
server/app.js
change 'port'
to "80"
or check package.json
and edit npm start
to set port to 80
Upvotes: 2