Solved

IIS 6 Create a Website based on IP and Port - Error Internet Explorer cannot display the webpage

Posted on 2011-09-22
5
546 Views
Last Modified: 2012-08-14
Hi All,

I have configured a website in IIS 6 so that I just only need to reference the IP address and port as per my previous question at

http://www.experts-exchange.com/Software/Server_Software/Web_Servers/Q_27307076.html

I ran the command netstat to make sure to choose a port that isn't currently being used - port 88 in my case.

When I go to the IP address and port like so - http://172.0.0.1:88 I just get the error 'Internet Explorer cannot display the webpage'  - ignore the IP here as it is for example purposes and understand its and internal one.

Can anyone suggest what I could be doing wrong?

Thanks,

Rit
0
Comment
Question by:rito1
  • 3
  • 2
5 Comments
 
LVL 10

Expert Comment

by:gaurav05
ID: 36580088
Hi,

I attached the screen shot.

you need to assign ip address and port no in that red box.


let us know.
ScreenShot001.bmp
0
 
LVL 1

Author Comment

by:rito1
ID: 36581196
My appologies, its IIS 7. (doh!)

The IP address and port 88 are showing in these fields correctly. though they are located in a different place - Site Bindings section rather than Properties - Web site :-) Still get the error.
0
 
LVL 10

Accepted Solution

by:
gaurav05 earned 500 total points
ID: 36585144
Hi,

check whether the site is started, and what end-points its
configured to run on, by running the following from command line:

> %windir%\system32\inetsrv\AppCmd.exe list sites

At this point, you may get a configuration error indicating malformed configuration in the sites section –
 in that case, you need to fix this to proceed.  Once the error has been fixed, the resulting output should include your site as follows:

SITE "Default Web Site" (id:1,bindings:http/*:80:,state:Started)

If you site is not listed, well, then you know the problem.
If the site definition does not contain the proper binding
(in the form of protocol/[ip-address-list-or-*]:port:[host-header-list-or-blank]),
then you need to add the missing binding.


Start the event viewer (Start>Run>eventvwr.exe), and look for an error in the “System”
event log under “Windows Logs”, with “WAS” as the event source.  You may see something
like this:

Event 5161:
Site 1 has no root application defined, so the site will be ignored.

This should most of the time hold the key to what you need to do to make sure the site is valid.  
The following may cause your site to not be valid:
The site does not contain a root application (with path = “/”)
The site does not contain a single valid binding
A binding is invalid or conflicts with another binding on the machine
Once you’ve made the required configuration changes, you can start the site like this:

> %windir%\system32\inetsrv\AppCmd.exe start site "Default Web Site"

Where "Default Web Site" is replaced with the name of your site.


if everything above is  ok then

Try switching the AppPool to Classic .NET mode rather than integrated mode.

You can do this on the Application Pool's Basic Settings in IIS Manager
0
 
LVL 1

Author Comment

by:rito1
ID: 36585411
Hi gaurav05,

it turns out that all ports are being blocked by the firewall other than the ones being used.

Thanks for you expertise.

Rit
0
 
LVL 1

Author Closing Comment

by:rito1
ID: 36585412
Excellent info.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now