Windows 7 PCs cannot access LAN hosted IIS site - asp.net-mvc

I have an ASP.MVC site hosted on my computer with IIS. This site is using the 8090 port, and i already set the inbound firewall configurations on Control Panel.
Im not able to access this site from all Windows 7 computers and Android Smartphones on LAN, but Im able to access from all Windows XP computers on the same lan.

Since your XP-PCs can access the site, the MVC-site is correctly working.
Check the following things:
whether the Win7 and Android devices are in the Same LAN, check IP address AND subnet mask.
whether the MVC-Site is configured to only response to certain IP addresses.

Related

Hosting own website on iis from home Win10 computer with domain mapping

I have a developed a web application based on asp.net mvc 4 framework and it works fine in visual studio. since we want to launch our website to public we bought a domain from the godaddy account. And in GoDaddy -> Domains -> Manage -> we mapped the domain name to public/external IP address e.g. 178.112.24.5 ( which is different from what i get in cmd-> ipcoonfig-> shows 192.168.0.2). I guess i should use the public ip addresss not the local ip address shown in the cmd -> ipconfig.
Now i created a web site under iis-> sites-> add new site -> mynewdomain -> with protocol as http, ipaddress as unassigned(default) , port as 80 and hostname as www.mynewdomain.com . But whenever i launch this site from iis, it routes to ISP router configuration login.html page(BTW i use Rogers Internet). So it also fails to launch from other network computers and chrome shows the error as ERR_CONNECTION_REFUSED.
I followed some posts on this site:
How to solve ERR_CONNECTION_REFUSED when trying to connect to localhost running IISExpress - Error 502 (Cannot debug from Visual Studio)?
https://serverfault.com/questions/54623/sites-in-iis-not-available-externally
I tried to fix this by defining firewall rule for port 80 (selected domain,private and public ) , dnsflush and some suggestions from the above two links. But it didn't fix the issue.
You want host your app yourself, ok.
So:
1. To access your host from other networks you've open ports (80 for http and ) in your firewall, sure your local IP address will 192.168.0.2 and you can access your app from LAN on it. But others must get your external IP.
2. Next moment is your domain resolver, you must setup your Name Servers for your host external IP address.
Now what can you do:
First of all use DMZ for testing, it will be open all connections to your machine, but after testing setup your firewall and open only nessessary ports.
And if your internet provider gives you your external IP + not blocking connections you can host your application.
Sure this way of host your web site is not recommended because:
A. Windows 10 Home is not server OS.
B. You need minimum 100 MB/s Speed.
C. Not secured to use home router as firewall.
Hope this will help you.

Deployed web application is not accessible from other machines

I have deployed mvc application in IIS 7 on my machine(Windows 7 Professional).
Its working fine in my machine with url: http://localhost/testApp. When I tried to access the same (http://182.18.140.188/testApp) in other machines, I couldn't able to access. My system IP is 182.18.140.188.
I gave full permissions to other machines also. Still not working. Other machines are in same network and they could able to ping my machine. Please let me know how to access the application from other machines.

Test Website on Local Network

I'm a web developer that's not very savvy when it comes to networking. I have a web site that is on my local machine. I've setup the website so that it is currently running on my local IIS. I can access the website while doing development by putting http://localhost:11000/ into the address bar of my browser. Now, I want to test my website on a tablet.
My tablet and my local development machine are on the same network. I confirmed they are hitting the same router. When I ask Google what my IP address is, it returns the same address for both my development machine and on my tablet. When I enter [ipAddress]:11000 into the browser on my tablet, it works for a while and then returns nothing. The browser just says:
"Safari could not open the page because the server stopped responding."
My question is, how do I test a website from my local development machine on my tablet? Are there IIS settings I need to change? If so, what settings?
Thank you!
iis ipad
I would use the command window and enter ipconfig to discover the ip address of your dev machine. Then use that IP address on your remote machine (ipad). The IP address you are getting that is the same between your workstation and your ipad is likely your router's address. but each of your devices has an address of its own; you need the workstation's IP address to connect to its IIS instance.
A similar question was answered previously at:
How to access your website through LAN in ASP.NET

testing mobile apps at home (IIS hosted)

I am not sure what to look for with the current problem and I appreciate your suggestions.
Basically, all I want to do is locally host a web application on IIS and access it from my mobile browser.
My web application is hosted on the local IIS and works fine on the main machine. I can use my computer name, internal ip or external ip instead of localhost to connect to the app from the main computer. But when I go to another computer (which I can see and exchange files with) connected to the same network I cannot access the web application on the main machine. I tried ip and machine name.
At work, we are connected to a Domain and I tried the same thing with the work computer. When I write my computer name or it's ip, I can access hosted app from another computer.
So the question is, do I have to have a domain for this capability and if so, Is it possible to create a local domain at a home network? What do I need to search for to get this working? Is WAMP a must?
Apparently opening the outbound/inbound port 80 from windows firewall is enough

Want to test local server website on iPad

I have a issue. I have a website which is run via VMware. My website server is in VMware and after starting VMware I can access website on my desktop browser. Now I want to test same website on iPad and tablets. So is there anyway I can bridge between these two connection. My iPad uses wifi of same network with desktop. Please suggest if anyone has solution for this.
Use bridged networking
Then get the IP for your virtual host (Im assuming you've got a windows virtual machine there):
Start > Run > cmd.exe
ipconfig
Look for the IPV4 address (something like 192.168.0.145) and type that into safari location bar on the notepad.
http://192.168.0.145/

Resources