iis在动态IP上托管Web应用程序(地址在smtime后更改) [英] iis hosting of web application on dynamic IP(address is change after smtime)

查看:68
本文介绍了iis在动态IP上托管Web应用程序(地址在smtime后更改)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

i已经开发了一个web应用程序。我需要在单个PC上托管所以其他3台PC可以连接并使用局域网连接在网络中工作。

问题是用户有动态IP,当前我有主机使用IP所以一段时间后IP会自动改变路径改变用户无法打开。

解决方案

如果它们都在同一个局域网上,不要在URL中使用IP,而是使用机器名称。假设您已正确设置DNS服务器,那么IP地址何时更改无关紧要。



或者,您必须为该服务器设置静态IP机。

hi all,
i have develop one web application.i need to host on single pc so 3 other pc can connect and work all those are in network using lan connection.
problem is user have dynamic IP,current i have host using IP so after some time IP will change automatically path is change user not able to open.

解决方案

If they are all on the same LAN, don't use the IP in the URL but use the machine name. Assuming you have a DNS server setup properly then it won't matter when the IP address changes.

Or, you'll have to set a static IP for the one machine.


这篇关于iis在动态IP上托管Web应用程序(地址在smtime后更改)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆