简体   繁体   中英

IIS Hosted website in not running on another machine. Try my best but not able to find issue

I have an asp.net MVC project which I publish and then create a website in IIS local machine. So now it's running well on my machine but it's not running on another machine. I try a lot but don't know why it's happening?

  1. on default web site I have added port 80 in bindings and running that IP to another machine.
  2. Also, I have created Inbound Rules in Firewall setting for port 80. by referring https://www.c-sharpcorner.com/article/access-website-hosted-on-iis/

But still, it's working on local machine but not working on another machine. It's showing on the page like "This site can't be reached" and "unexpectedly closed the connection" and "ERR_CONNECTION_CLOSED".

So how to go out of this issue?

As per your comments for run your website in local environment. try by putting those content in comment and try with turn of firewall. Possibly firewall can cause issue for accessing your publish url from another machine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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