on vagrant up:
homestead-7: 9123 (guest) => 9124 (host) (adapter 1)
mysite.dev:9124 localhost:9124 etc all give ERR_CONNECTION_REFUSED
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi, im running a pure JS project on my homestead. I need to open port 9123 when running grunt serve. Using netstat I confirm grunt is listening on port.
accessing mysite.dev:9123 gives a ERR_CONNECTION_REFUSED. So I guess the VM is not exposing the port.
I tried changing the ports-section in homestead.yaml to no effect.
ports:
- send: 9123
to: 9123
Please or to participate in this conversation.