TinyWebServer icon indicating copy to clipboard operation
TinyWebServer copied to clipboard

编译成功了,但是 ./server 5009 的时候,打开网页 http://localhost:5009/ 显示 unable to connect ?

Open AaronCMM opened this issue 4 years ago • 8 comments

AaronCMM avatar Jan 16 '21 14:01 AaronCMM

解决了吗?我也遇到这个问题。请教一下

chenxiaohang avatar Mar 13 '21 01:03 chenxiaohang

我也遇到这个问题,请问解决了吗

hadisi1993 avatar Mar 28 '21 01:03 hadisi1993

我运行程序的时候,服务是启动的,但端口没开启

hadisi1993 avatar Mar 28 '21 08:03 hadisi1993

请问下有解决吗?同样问题

Vegeta001 avatar Apr 10 '21 04:04 Vegeta001

请问有人解决了吗?急!!!

YouzhiHe avatar Aug 24 '21 13:08 YouzhiHe

如果是云服务器的话建议看一下防火墙有没有开启端口

Dzy-HW-XD avatar Jan 23 '22 10:01 Dzy-HW-XD

谢谢,已解决

------------------ 原始邮件 ------------------ 发件人: "qinguoyi/TinyWebServer" @.>; 发送时间: 2022年1月23日(星期天) 晚上6:41 @.>; @.@.>; 主题: Re: [qinguoyi/TinyWebServer] 编译成功了,但是 ./server 5009 的时候,打开网页 http://localhost:5009/ 显示 unable to connect ? (#42)

如果是云服务器的话建议看一下防火墙有没有开启端口

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>

hadisi1993 avatar Jan 23 '22 13:01 hadisi1993

谢谢,已解决

------------------ 原始邮件 ------------------ 发件人: "qinguoyi/TinyWebServer" @.>; 发送时间: 2022年1月23日(星期天) 晚上6:41 @.>; @.@.>; 主题: Re: [qinguoyi/TinyWebServer] 编译成功了,但是 ./server 5009 的时候,打开网页 http://localhost:5009/ 显示 unable to connect ? (#42)

如果是云服务器的话建议看一下防火墙有没有开启端口

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>

你好,我的云服务器安全组端口是打开的,也出现这个问题,请问你就是安全组的问题吗

honor-greenhand avatar Mar 15 '22 03:03 honor-greenhand

谢谢,已解决 ------------------ 原始邮件 ------------------ 发件人: "qinguoyi/TinyWebServer" @.>; 发送时间: 2022年1月23日(星期天) 晚上6:41 _@**._>; _@.@._>; 主题: Re: [qinguoyi/TinyWebServer] 编译成功了,但是 ./server 5009 的时候,打开网页 http://localhost:5009/ 显示 unable to connect ? (#42) 如果是云服务器的话建议看一下防火墙有没有开启端口 — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: _@_.*>

你好,我的云服务器安全组端口是打开的,也出现这个问题,请问你就是安全组的问题吗

一般先打开安全组,服务器监听下端口nc -lk port , 客户端telnet试下。如果能通,再看代码问题

qinguoyi avatar Sep 26 '22 08:09 qinguoyi