找回密码
 注册
查看: 3472|回复: 1

listen 80 reuseport报错求助

[复制链接]
发表于 2019-4-5 23:46:36 | 显示全部楼层 |阅读模式

listen 80 reuseport;这个报错怎么解?
server
    {
        listen 80 reuseport;

Starting nginx... nginx: [emerg] duplicate listen options for 0.0.0.0:80 in /usr/local/nginx/conf/vhost/www.xxxx.com.conf:3
美国VPS推荐: 遨游主机、Linode、LOCVPS、主机云、搬瓦工、80VPS、Vultr等美国VPS主机。中国VPS推荐: 阿里云、腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2019-4-6 09:42:24 | 显示全部楼层


你用的是很久之前的lnmp版本吗
可以按 https://bbs.vpser.net/thread-18408-1-1.html 这个
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2026-11-27 00:42 , Processed in 0.008186 second(s), 17 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表