Access to the meteor server on the local network

I am currently using Reaction Commerce ( https://github.com/ongoworks/reaction ) on my Ubuntu VM, but I cannot view it anywhere on my LAN. When I start the server, I get a simple "application running on http: // local: 3000", but when I try to access this from another PC on the local network (http: // local IP: 3000), I am redirected to these PCs are localhost which nothing works.

I tried changing the settings file and Dockerfile to read 0.0.0.0 instead of localhost, but it doesn't seem to be much different as the meteorite keeps saying that the localhost is still in use.

Any insight into what exactly needs to be changed would be much appreciated!

+1


source to share


1 answer


Remove the package force-ssl

. In the application working directory:

meteor remove force-ssl

      



This will stop the redirect. (Can't force everyone not to use 127.0.0.1 or localhost on ROOT_URL with https)

0


source







All Articles