

Consider it like a “super-SFTP” type of setup, although it’s not a 1:1 comparison in practice. It’s a command-line tool that lets you access an insecure network securely. One of the most secure ways to connect to a web server is to use SSH. 🙅♀️ Learn more ⬇️ Click to Tweet What the “Warning: Remote Host Identification Has Changed” Error Is I've tried to change Xdebug port to some random other numbers and it doesn't change anything.A secure internet connection is not just the ideal - it's essential 💪 While it may be annoying, this error protects your connection from attacks. Telnet: Unable to connect to remote host: Connection timed out Same thing when I try from another computer on my local network, telnet 192.168.1.4 9000 works fine.īut from my Docker's web container even though I can successfully ping 10.0.75.1 and telnet this IP on port 80 either (it connects), on port 9000 it returns an error whether PHPStorm is listening or not : telnet 10.0.75.1 9000 When I telnet 10.0.75.1 9000 from windows it connects successfully when PHPStorm is listening and returns this error when it is not listening : "Could not open connection to the host on port 9000 : connect failed". Therefore I tried to telnet it from different places : Still, PHPStorm doesn't get any incoming connection from this container. I have bound port 9000 to 9000 for this container : web: PHPStorm (on Windows) is listening to Xdebug on port 9000. It's also the DockerNAT virtual device IP.


My Windows IP as seen by docker seems to be 10.0.75.1 (PHP shows 10.0.75.1 for $_SERVER when visited from Windows). Here is what appears in my php.ini from within this container : xdebug.remote_enable=on I have Xdebug configured in a container with PHP. I'm a bit confused using Xdebug, Docker for Windows, and PhpStorm.
