-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't connect to local host after 1st time #100
Comments
Can you provide complete instructions to reproduce? |
Hey @Tiryoh . Thank you so so much for offering to help! I make sure to close the container after opening so I don't think two containers are trying to use port 6080 on the host machine. The complete steps to reproduce are as follows: docker create -it -p 6080:80 --name ros2_example tiryoh/ros2-desktop-vnc:foxy Different things I've tried:
|
For your information, a friend of mine told me that logging out before stopping the container can avoid the problem. Thanks. |
@suzuki-takuo crazy enough that works! Why would that work lmao |
could we see this issue get resolved @Tiryoh |
@The-Michael-Chen Sorry, I've missed the notification @suzuki-takuo Thanks for your help! Once I confirm that the issue and its solution can be reproduced, I'm planning to make an addition to the README. |
I was trying to run ros foxy on a docker container. It works fine launching it for the first time, but after I run docker stop container it doesn’t connect anymore to the localhost port. It still works in terminal, but doesn’t work with novnc in the browser.
The command I ran to initialize it was docker create -it -p 6080:80 -v $(pwd):/home/ubuntu/Desktop/yondu_ros --name ros2_gazebo --volumes-from ros2_practice tiryoh/ros2-desktop-vnc:foxy
I'm running it on MacOS Ventura 13.1
I’m not getting any errors except on the browser where it says “failed to connect to server”
The text was updated successfully, but these errors were encountered: