Nginx [emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
root@menggang-ubuntu:/usr/local/nginx/sbin# ./nginx
nginx: [emerg] bind() to 0.0.0.0:1935 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:1935 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:1935 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:1935 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:1935 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()
root@menggang-ubuntu:/usr/local/nginx/sbin# sudo fuser -k 80/tcp
80/tcp: 13686 13687
root@menggang-ubuntu:/usr/local/nginx/sbin# sudo fuser -k 1935/ycp
Specified filename 1935/ycp does not exist.
root@menggang-ubuntu:/usr/local/nginx/sbin# sudo fuser -k 1935/tcp
root@menggang-ubuntu:/usr/local/nginx/sbin# sudo fuser -k 1935/tcp
root@menggang-ubuntu:/usr/local/nginx/sbin# ./nginx
root@menggang-ubuntu:/usr/local/nginx/sbin# pkill ngnix
root@menggang-ubuntu:/usr/local/nginx/sbin# pkill ngnix
root@menggang-ubuntu:/usr/local/nginx/sbin# pkill nginx
root@menggang-ubuntu:/usr/local/nginx/sbin# ./nginx
root@menggang-ubuntu:/usr/local/nginx/sbin# pkill nginx
root@menggang-ubuntu:/usr/local/nginx/sbin# ./nginx
网友评论