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

Ports are not available: listen tcp 0.0.0.0:50070 #118

Open
yuxiazff opened this issue Sep 4, 2020 · 3 comments
Open

Ports are not available: listen tcp 0.0.0.0:50070 #118

yuxiazff opened this issue Sep 4, 2020 · 3 comments

Comments

@yuxiazff
Copy link

yuxiazff commented Sep 4, 2020

我在执行sh run_containers.sh命令的时候报错:
docker: Error response from daemon: Ports are not available: listen tcp 0.0.0.0:50070: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
我防火墙已经关了,也还是报这个错

@nkzhlee
Copy link

nkzhlee commented Sep 5, 2020

这个有可能是docker版本问题导致,docker镜像的网络ping不通吧。您用的是什么系统呢?

@nkzhlee
Copy link

nkzhlee commented Sep 5, 2020

我在执行sh run_containers.sh命令的时候报错:
docker: Error response from daemon: Ports are not available: listen tcp 0.0.0.0:50070: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
我防火墙已经关了,也还是报这个错

这个有可能是docker版本问题导致,docker镜像的网络ping不通吧。您用的是什么系统呢?

@yuxiazff
Copy link
Author

yuxiazff commented Sep 7, 2020

我的操作系统是windows 10专业版,docker是从docker官网下载的Docker Desktop Installer.exe。我后来把run_containers.sh里面的-p 50070:50070改成-p 50001:50070了,这样,执行完sh /root/start-hadoop.sh后,就可以访问http://127.0.0.1:50001/了

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