Skip to content
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

Unable to access UI #96

Closed
mindscratch opened this issue Jul 29, 2016 · 2 comments
Closed

Unable to access UI #96

mindscratch opened this issue Jul 29, 2016 · 2 comments

Comments

@mindscratch
Copy link

I'm running Mesos 0.28.2 and I just started the standalone-0.1.4 image with:
docker run -p 33000:33000 -e MESOS_ENDPOINT=http://master.mesos:5050 capgemini/mesos-ui:standalone-0.1.4

The output of the container shows some "Starting messages" and the last message says "Finied 'server' after 1.35s".

I try to curl localhost:33000 and also try to browse to my_server:33000 and I get nothing. When I curl, I get curl: (56) Recv failure: Connection reset by peer.

Any thoughts/ideas? I notice the README in the gihtub repo instructions is different than on docker hub, not sure which is correct. Also, on docker hub I just noticed it is compatible with mesos 0.23....is that accurate?

@enxebre
Copy link
Contributor

enxebre commented Jul 29, 2016

Hi,
the output message is expected and correct but the server is listening on 5000 inside the container https://github.com/Capgemini/mesos-ui/blob/master/src/config/config.js#L4 so docker run -p 33000:33000 is never going to give you access to the server from the host. Instead you should docker run -p 33000:5000, then try to curl localhost:33000
Thanks!

@mindscratch
Copy link
Author

Yup, my mistake, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants