Hassaan
Hassaan

Reputation: 3991

How to host a Website locally using iis to be accessed by other computers on same network?

I have an asp.net website and i have hosted is locally using iis.

http:localhost:3314

I have a TpLink router with ip 192.168.0.101. When i used ipconfig it show the ip address of the device 192.168.0.101 and the default gateway 192.168.0.1.

This is my laptop and connected via wifi. Also the website is locally hosted on this laptop.

Then i connect my mobile via wifi it also show the ip adress 192.168.0.101 to the mobile.

My question is that how do i access my website from my mobile or other computers.

Upvotes: 2

Views: 753

Answers (1)

Giannis Grivas
Giannis Grivas

Reputation: 3412

The devices cannot have the same IP due to conflicts!

Maybe DHCP is enabled and you have to disable this option.Otherwise if the device has for example the ip 192.168.1.56 then the site will be accessible via http://192.168.1.56 .if that doesn't work, there is a chance that there is a firewall running on your computer, or the httpd.conf is only listening on 127.0.0.1

Upvotes: 1

Related Questions