简体   繁体   English

IIS:无法使用主机IP地址和端口号(不同于80)浏览服务器

[英]IIS: unable to browse server using host IP address plus Port number different from 80

I have an app running in IIS on port 7000. I am able to browse localhost and localhost:7000 but when i change local host to the ip of the computer, I am only able to browse and not :7000 why is this the case? 我有一个在7000端口上的IIS中运行的应用程序。我能够浏览localhost和localhost:7000,但是当我将本地主机更改为计算机的ip时,我只能浏览而不能:7000为什么是这种情况? I think the solution is here but i cannot figure out how to get to local policies on windows 7 and change the required settings. 我认为解决方案在这里,但我无法弄清楚如何local policies on windows 7访问local policies on windows 7并更改所需的设置。 Below is what i get when i browse with the port. 以下是我在使用端口浏览时得到的信息。

在此处输入图片说明

When i Added my new application using the IIS Manager, I specified the hostname as localhost. 当我使用IIS管理器添加新应用程序时,我将主机名指定为localhost。 All i had to do was to leave it blank. 我要做的就是将其留空。 This setting is similar to the default app in IIS running on port 80 此设置类似于端口80上运行的IIS中的默认应用程序

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 IIS 上托管 2 个网站,1 个使用 80 端口,1 个在 Xampp 8081 端口上 - Host 2 Websites 1 on IIS with 80 Port and 1 on Xampp 8081 port 使用Windows batch命令从环境变量中提取IP地址和端口号 - Extract the IP address and port number from a environment variable using windows batch command 从recvfrom获取错误的IP地址和端口号 - Getting wrong ip address and port number from recvfrom 使用其他端口上的IP地址通过SSH进行Git - Git over SSH using IP address on a different port 使用PowerShell从com端口获取Linux设备IP地址 - Get Linux device IP address from com port using PowerShell 无法通过虚拟交换机 NAT 将 map 从 Hyper-V VM 端口转发到主机 IP 地址 - Can't port forward/port map from Hyper-V VM to Host IP Address via Virtual Switch NAT 在 Windows 主机文件中使用端口号 - Using port number in Windows host file 我正在使用Window Server 2008 VPS,如何在用户键入IP地址时将其转到Tomcat页面而不是IIS页面? - I am using Window Server 2008 VPS, how to make that when user type the IP address it will go to Tomcat page not IIS page? 如何在保持端口443打开的同时禁用IIS上的端口80? - How to disable port 80 on IIS while keeping port 443 open? WAMP 服务器从 ip 地址重定向到 localhost - WAMP Server redirects to localhost from ip address
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM