D
D
Dmitry Bashinsky2020-02-11 19:31:28
Computer networks
Dmitry Bashinsky, 2020-02-11 19:31:28

How to understand why the port on Digital Ocean does not work?

Hello.

docker volume create portainer_data
docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer

According to the documentation, I installed Portainer locally to manage the docker, everything works fine localhost:9000.
I did the same on Digital Ocean and the webcam does not open on request, http://ipaddress:9000why?
Firewall is not created, in theory everything is allowed.
Of course, I created Firewall rules where I allowed any TCP \ UDP traffic - it didn’t help

. The request just loads for a long time and falls by timeout.
How to detect what exactly is the problem? Who drops the request, and so on.

If you know how you can connect something similar to Docker Dashboard via ssh, then I will be glad to see a link.
My ultimate goal is to manage docker remotely in some kind of interface.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Bashinsky, 2020-02-11
@BashkaMen

recreating the server - it worked on a clean server -_- Thank you all

D
Dmitry, 2020-02-11
@q2digger

show that with firewall
iptables -L -vnx

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question