Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IIS external access by IP address

Can's seem to get this to work. Tried various combinations in Site Bindings. I can view default web page using the internal IP address as well as machine name from any computer on my network, but when it comes to accessing via public IP, which I got from whatismyip.com, browser keeps on waiting and waiting and eventually craps out..

Also, I've disabled Firewall (temporarily), but no luck. I've never done this kind of setup before so, I'm struggling a bit.

My ISP doesn't block traffic on port 80.

All entries in bindings screenshot represent various combinations I've tried either all together or separately..

enter image description here

Cheers!

like image 974
Ostati Avatar asked Aug 13 '13 23:08

Ostati


People also ask

How do I access my IIS website externally?

Click Start and type "IIS". Then click "Internet Information Services (IIS) Manager" to open the "Internet Information Services (IIS) Manager". (Alternatively, you can press "Windows + R" to open RUN and type "inetmgr" to open the "Internet Information Services (IIS) Manager").

How do I allow a specific IP address in IIS?

In IIS Manager, expand SERVERNAME > Sites > click on a required website > double-click IP Address and Domain Restrictions (under IIS group). Click Add Allow Entry... (on the right pane) to add an IP address or IP address range which will be allowed to access the website. Click OK.

How do I access a website using IP address?

Type the string “http://” followed by the IP address and then a forward slash. For example, type “http:// 209.191. 122.70/” (without the quotes).

How do I open my external IP address?

Type "cmd" in the search box in the Start Menu or taskbar and click the Command Prompt icon to open the Windows command prompt. Type "ipconfig" in the command prompt window and take note of the IP address displayed.


1 Answers

Here are some thoughts I have on configuring the resources on your network.

Configuration Notes

It looks like you have a router, so it is your router that is bound to the external IP, not your computer. In that case your computer does not have the external IP (75.75.75.75). It only has the internal IP (10.0.0.6). You should set up your router to forward port 80 to your computer's internal IP address. You should bind IIS to the internal IP as well.

I should note that given your screen shots above, that you are close to already doing this. The only thing I would remove from your configuration above is the IIS binding to the external IP (75.75.75.75).

Testing

When testing your site, a potential issue is with the router itself. Generally a router will not let an internal machine access an internal resource (e.g. IIS) via an external IP. So for example, if you try to browse from inside your network to 75.75.75.75, the router will not let it happen. That may be why you are seeing the browser hang. What you should do to test the web site is to access the external IP from outside of your network. Have a friend or relative (outside your network) try to connect to the external IP and see if it works.

So how should you access the site from inside your network? Use the internal address only (10.0.0.6).

like image 179
chue x Avatar answered Nov 03 '22 00:11

chue x