简体   繁体   中英

Accessing a local website from another computer inside the local network in IIS 10

On my computer I have deployed my web site on IIS. If I access this website locally with :8080 works perfect, but when I try to access this site from another machine or my Android phone I get 'The site can't be reached. my_ip_address took too long to respond ERR_CONNECTION_TIMED_OUT –' this error.

I have tried solutions from this question , but nothing worked for me. Need some help!

There are few factors which can affect the accessibility of the site hosted on your local computer:

  • Is the client machine (including your phone) in the same network as the Server (In this case your site)
  • Is the firewall configured to allow connections on port 8080
  • Have you tried accessing the server using the IP Address. For eg http://192.168.0.1:port

Steps to isolate

  • Ping the server Ip from the client machine and see if it is able to connect to it.

ping 192.168.0.1

If the above fails, then I would assume that you are not on the same network. If it succeeds then check if the port is open.

You can also use nmap to see whether the ports are open or not

nmap -p 8080 kaushal.com

If the above fails, then open the port in your Firewall configuration and then try again.

Try this and share the results.

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