怎样在不知道端口的情况下,查看服务的端口号

ps -ef | grep 服务名,获取—> pid
netstat -nlp | grep pid 获取—> port
http://ip:port

发布了118 篇原创文章 · 获赞 26 · 访问量 6万+

猜你喜欢

转载自blog.csdn.net/qq_43147136/article/details/89027528