A
A
Artem2019-07-17 18:49:44
linux
Artem, 2019-07-17 18:49:44

Docker: Telnet from container to host machine?

Hello!
Os Ubuntu
The entire local server is deployed via docker-compose.
I'm trying to set up xdebug on my work computer.
Did according to the instructions - https://blog.denisbondar.com/post/phpstorm_docker_...
The problem is that the xdebug outgoing connection does not reach the host machine.
Docker version - 18
Through ifconfig - ip address of the host machine 192.168.220.1
If I puff from the container:
telnet 192.168.220.1 9000
Then the connection falls off by timeout.
Everything is ok on my home laptop. True version of docker is 17.
Has anyone encountered a similar problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem, 2019-07-22
@beardedman

At work, according to the rules of the network, the ports were closed.
Something like this :)
Check the port.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question