Symfony — Enabling Remote Access to Built-in Server

So you configured your Symfony 4.2 web app and you’re trying to access the, might be a VM, might be in another computer in the network.

You’ve tried everything: configured firewalls, disabled SELinux, allowed access to everything!

And you still can’t open the damned website!

You might need to enable access from all IPs using the following command:

cd </path/to/symfony>
sudo php bin/console server:start 0.0.0.0:8000

You should be able to open the site from all IPs in the network.