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

求助,广东大神,这个挂载目录还有运行的代码在哪??? #5

Open
mama1902 opened this issue Feb 28, 2023 · 1 comment

Comments

@mama1902
Copy link

mama1902 commented Feb 28, 2023

  • /Users/linjinjin/Documents/dnmp/www:/data/www
  • 9501:9501
    • 9502:9502
    • 9503:9503
    • 9507:9507

那么该容器 运行了一些服务咯, 这份代码 能看下吗???

php api-gateway/bin/hyperf.php start

In Server.php line 141:

failed to listen server port[0.0.0.0:9501], Error: Address already in use[4
8]
,而且报了这个错

@Double-Jin
Copy link
Owner

  • /Users/linjinjin/Documents/dnmp/www:/data/www

  • 9501:9501

    • 9502:9502
    • 9503:9503
    • 9507:9507

那么该容器 运行了一些服务咯, 这份代码 能看下吗???

php api-gateway/bin/hyperf.php start

In Server.php line 141:

failed to listen server port[0.0.0.0:9501], Error: Address already in use[4 8] ,而且报了这个错

1、挂载目录是docker的知识,你可以搜索docker -v 的内容学习一下
2、第二个问题是docker容器内已经有程序占用了9501端口

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