Can't access Discourse by IP address on Vagrant

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

When I connect to localhost:4000 Discourse loads just fine, but on 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.

Did you try ?

1 Like

yes, without success

Using Vagrant for development is no longer recommended: HOWTO Set up a development environment using vagrant (Ubuntu guide).