Can't access Discourse by IP address on Vagrant


(Tobias Mühl) #1

I installed Discourse in a vagrant box, with the standard networking configuration (config.vm.network :private_network, ip: "192.168.10.200").

When I connect to localhost:4000 Discourse loads just fine, but on 192.168.10.200:4000 I’m getting ERR_CONNECTION_REFUSED.

How to access Discourse on Vagrant without referring to localhost?
I need Discourse to be accessible from within another Vagrant box.

Please note that there’s no app.yml in the Vagrant version.

Edit: I don’t need this anymore as I’m moving to a hosted environment with a real domain name and docker, but the issue still remains and I’d like how to fix it.


(Mittineague) #2

Did you try 127.0.0.1:4000 ?


(Tobias Mühl) #3

yes, without success