以文本方式查看主题 - Foxtable(狐表) (http://foxtable.net/bbs/index.asp) -- 专家坐堂 (http://foxtable.net/bbs/list.asp?boardid=2) ---- web求助 (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=195916) |
-- 作者:kk000 -- 发布时间:2025/3/20 16:40:00 -- web求助 HttpServer.Close() Dim IPAdress As System.Net.IPAddress Dim HostName As String HostName = System.Net.Dns.GetHostName \'获得本机的机器名 IPAdress = System.Net.Dns.GetHostByName(HostName).AddressList.GetValue(0) \'获得本机的IP IPADRESS.ToSTRING If IPADRESS.ToSTRING = "192.168.3.1" Then HttpServer.Prefixes.Add("http://192.168.3.1:8090/") End If HttpServer.Start() 服务已经在 afteropenproject 上打开 网络没有问题,测试过 用 Nginx 的 代理部署,可以访问 请叫什么原因 怎么解决 本机可以访问 ,但是 同网段的 其他电脑不能访问
[此贴子已经被作者于2025/3/20 16:40:45编辑过]
|
-- 作者:有点蓝 -- 发布时间:2025/3/20 16:55:00 -- 本机使用http://192.168.3.1:8090/可以问网页?其它电脑访问显示什么错误? |
-- 作者:kk000 -- 发布时间:2025/3/20 17:11:00 -- 是的 |
-- 作者:有点蓝 -- 发布时间:2025/3/20 19:57:00 -- 其它电脑访问显示什么错误? 把192.168.3.1的防火墙关闭试试
|
-- 作者:kk000 -- 发布时间:2025/3/21 8:33:00 -- 蓝板 谢谢 可以了 |