9000端口冲突
我启动了showdoc, 但是showddoc的9000端口与minio的9000端口冲突, 可以在docker run的时候解决这个容器内部端口冲突问题吗
showdoc不监听9000端口。我不清楚你做了什么。请按照官方教程运行。如果自定义安装,则监听什么端口是你自己才知道的
@star7th 容器确实监听了9000端口,是php-fpm和web通信开启的端口
/showdoc_data/html # netstat -tuln | grep 9000
tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN
如果使用docker bridge模式,可以不管它,但是如果采用host模式,就会额外占用一个端口
我写的教程里只暴露了 4999 端口,且不使用 host 模式。如果用户自己强改了 host 模式,那就是他自己监听端口错乱,跟 showdoc 没关系。
Aymeric Garcia @.***>于2025年2月17日 周一下午5:19写道:
@star7th https://github.com/star7th 容器确实监听了9000端口,是php-fpm和web通信开启的端口
/showdoc_data/html # netstat -tuln | grep 9000 tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN
如果使用docker bridge模式,可以不管它,但是如果采用host模式,就会额外占用一个端口
— Reply to this email directly, view it on GitHub https://github.com/star7th/showdoc/issues/2233#issuecomment-2662505761, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQZHLVJBNPPHPGDSIWE6HT2QGSSBAVCNFSM6AAAAABXI2YIRSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNRSGUYDKNZWGE . You are receiving this because you were mentioned.Message ID: @.***> [image: gralliry]gralliry left a comment (star7th/showdoc#2233) https://github.com/star7th/showdoc/issues/2233#issuecomment-2662505761
@star7th https://github.com/star7th 容器确实监听了9000端口,是php-fpm和web通信开启的端口
/showdoc_data/html # netstat -tuln | grep 9000 tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN
如果使用docker bridge模式,可以不管它,但是如果采用host模式,就会额外占用一个端口
— Reply to this email directly, view it on GitHub https://github.com/star7th/showdoc/issues/2233#issuecomment-2662505761, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQZHLVJBNPPHPGDSIWE6HT2QGSSBAVCNFSM6AAAAABXI2YIRSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNRSGUYDKNZWGE . You are receiving this because you were mentioned.Message ID: @.***>