Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是openhab的初学者,在启动服务器后/etc/init.d/openhab2 start我得到了它[ ok ] Starting openhab2 (via systemctl): openhab2.service,但我仍然无法通过http://localhost:8080/ 我想知道的方式访问该平台:
/etc/init.d/openhab2 start
[ ok ] Starting openhab2 (via systemctl): openhab2.service
http://localhost:8080/
哪个进程正在使用8080端口 openhab在哪个端口 上运行
哪个进程正在使用8080端口
openhab在哪个端口 上运行
谢谢
你可以使用lsof,
lsof
lsof | grep TCP | grep 8080和lsof | grep openhab | grep TCP
lsof | grep TCP | grep 8080
lsof | grep openhab | grep TCP
如果进程分叉并且子进程是使用端口的进程,则它可能无法按预期工作