-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
直接使用simpleclient.c编译运行时总是出现拒绝连接,是为什么呢 #38
Comments
同问,望懂的同学帮助下! |
因为 httpd 监听的端口号是 4000,simple_client.c发送的端口号是9734,需要对应下端口号。但是呢,改完端口号,也没啥反应,会阻塞。我正在看代码 |
|
谢谢大神的解答,很棒啊! |
改好后在浏览器输入例如localhost:4000 浏览器没有反应 |
@TronYY https://gist.github.com/kele1997/8d2db488b9fc1e5830fc7e1f6e29dfbd#file-httpd-c-L55 |
其实是权限的问题 要进入到index所在的目录后 终端输入sudo chmod 600 index.html |
为什么需要为用户设置权限600呢,我设置777就不能访问html页面,非常疑惑? |
这是来自QQ邮箱的假期自动回复邮件。 谢谢你的来信,我会尽快给你回复。
|
No description provided.
The text was updated successfully, but these errors were encountered: