打開一個workerman后臺運行?root@9202e29e1549:/var/www/html# php public/pricemonitorworker.php start
然后查看狀態(tài):提示端口被占用
root@9202e29e1549:/var/www/html# php public/pricemonitorworker.php status
?
? stream_socket_server(): unable to connect to tcp://0.0.0.0:1598 (Address already in use)
?