我有两个客户在我的局域网,我试图“看到”对方。第一项如下
Computer1
IP 172.21.62.230
Subnet 255.255.255.224
Default gateway 172.21.62.225
Preferred DNS server 172.21.62.227
Computer2
IP 172.21.62.244
Subnet 255.255.255.224
Default gateway 172.21.62.225
Preferred DNS server 172.21.62.227
在computer1上,我有一个and服务器和一个应用服务器正在运行。这在http
我尝试使用visual studio 2008创建hello world Web服务,我得到了以下地址
http://localhost:49398/Service1.asmx
在本地访问和使用此web服务似乎没有问题,但当我试图使用其他计算机访问此web服务时,它会失败。我猜测了几个地址,但似乎没有运气。
http://1.2.3.4/Service1.asmx
http://1.2.3.4:49398/Service1.asmx
我一点也不知道该怎么做,这样我才能接触到它。非常感谢你的帮助。
更新
我不知道它是asmx还是WCF,但是我通过新的项目-> web ->ASP.NE
我正在用PHP构建一个内部web应用程序,它需要邮件功能。我使用了下面列出的代码:
当我在家里运行它的时候,它就像一个护身符。
但是,当我从办公室运行代码时,我得到了以下代码:
Failed to connect to ssl://smtp.gmail.com:465 [SMTP: Failed to connect socket: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection