简体   繁体   English

IIS:前端服务器未连接到网站

[英]IIS: front end server not connecting to website

I am newer to IIS so please forgive my ignorance.我是 IIS 的新手所以请原谅我的无知。 Here is my situation.这是我的情况。 I have a backend server that resides on ip xx.xx.xx.175 from here I have all my code and IIS installed here.我有一个后端服务器位于 ip xx.xx.xx.175 从这里我有我所有的代码和 IIS 安装在这里。 I created a website and can access it just fine using localhost:3000.我创建了一个网站,可以使用 localhost:3000 访问它。 When I go to the frontend server which resides at xx.xx.xx.174 I cannot connect to the site using the URL.当我将 go 连接到位于 xx.xx.xx.174 的前端服务器时,我无法使用 URL 连接到该站点。

I have updated the bindings, I have updated the firewall rules, I have also used.netsh http add iplisten and I still cannot connect to the site.我更新了绑定,更新了防火墙规则,我也使用了.netsh http add iplisten,但我仍然无法连接到该站点。 I am not sure where else to go from here as all of my Google searching lead me to the same things.我不确定从这里到 go 的其他地方,因为我所有的 Google 搜索都将我带到了同样的地方。

Please make sure you have added the ip address in the host file:请确保您已在主机文件中添加 ip 地址:

  1. Open your text editor in Administrator mode.在管理员模式下打开文本编辑器。
  2. In the text editor, open C:\Windows\System32\drivers\etc\hosts .在文本编辑器中,打开C:\Windows\System32\drivers\etc\hosts
  3. Add the IP Address and hostname.添加 IP 地址和主机名。 Example: 192.10.10.5 testserver.com .示例: 192.10.10.5 testserver.com
  4. Save the changes.保存更改。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM