This seems like it should be beyond simple, so I hate asking. But I've tried to configure Windows Firewall to allow XDebug to connect to PHPStorm on port 9000 without success.
XDebug is on on Vagrant Box with private network connection--so the host machine has a virtual network adapter. Vagrant is 192.168.33.10 and the host PC is 192.168.33.1.
With Windows Firewall disabled, XDebug connects to PHPStorm. But I obviously don't want to leave my firewall off.
So I've tried to open a port in Windows Firewall with the following Inbound Rule settings:
- General
- Enabled: Check
- Action: Allow the connection
- Program and Services
- All programs that meet the specified conditions: Checked
- Services
- Apply to all programs and services: Checked
- Protocols and ports
- Protocol type: TCP
- Local port: Specific Ports : 9000
- Remote port : All Ports
- Scope
- Local IP address
- Any IP address: checked
- Remote IP address
- Any IP address: checked
- Local IP address
- Advanced
- Profiles
- Domain: checked
- Private: checked
- Public: checked
- Interface types
- All interface types: checked
- Edge traversal: Block edge traversal
- Profiles
But it's not working to allow XDebug to connect to PHP storm. I've also tried setting the protocol to UDP. And I'm aware that if this rule did work, it would be excessively open (I could tighten up the scope), but for the moment I just want to see it work before tightening it.