Rank: Newbie Groups: Member
Joined: 11/3/2004 Posts: 3 Location: United Kingdom
|
I am attempting to configure Tsweb on a Windows 2003 terminal server. This tested fine at the end of last week, but for some reason I can no longer connect as my 'Default Web Site' cannot be started and gives the error 'Network location cannot be reached.
I have stopped and restarted the 'IIS Admin Service'
In the Default Web Site properties, I have an IP address stated - this originally showed'All Unassigned' with 'Default' agianst the IP in the Advanced section. I have a port of 80 and no 'Host Header Value'.
I have extremely limited knowledge, so any assistance would be gratefully received.
|
|
Rank: Administration Groups: Administration, Member, Moderator
Joined: 10/1/2004 Posts: 224 Location: United States
|
Can you change the IP back to "all unassigned"?
Tom Kaminski - IIS MVP http://www.microsoft.com/windowsserver2003/community/centers/iis/ http://www.iistoolshed.com
|
|
Rank: Newbie Groups: Member
Joined: 11/3/2004 Posts: 3 Location: United Kingdom
|
yes, I can amend the IP back, but then get the error: 'The format of the network name is invalid.'
In event log the following error shows with a Source of W3SVC and Event ID of 1130 which states:
"Cannot register the URL prefix 'http://x.x.x.x:80/' for site '1'. The IP address for the site is not in the HTTP.sys IP listen list. The site has been deactivated. The data field contains the error number."
Have run the Httpcfg.exe\Httpcfg query listen and receive: Gateway IP:80 ( not sure whether this should be the IP of the terminal server).
|
|
Rank: Administration Groups: Administration, Moderator
Joined: 6/18/2004 Posts: 735 Location: Malaysia
|
querying via httpcfg should return the machine IP. use ipconfig to determine your machine IP, then use httpcfg to configure it, restart IIS services, any error msgs ?
Regards, Bernard Cheah http://www.msmvps.com/bernard/
|
|
Rank: Newbie Groups: Member
Joined: 11/3/2004 Posts: 3 Location: United Kingdom
|
Thanks for your response Bernard.
I used httpcfg query iplisten, the gateway/router IP:80 was returned and not the actual Windows 2003 terminal server's IP.
I then used httpcfg delete iplisten -i x.x.x.x:80 to remove the gateway/router's IP and used httpcfg set -i x.x.x.x:80 to add the terminal server's IP. Incidentally the IIS\Default Web Site\Properties\Web Site, still has IP Address set as 'All Unassigned' and a port of 80.
Restarted IIS. Then, attempted to start the Default Web Site from within IIS Manager and the error, 'the format of the specified network name is invalid' is returned.
The Event Viewer shows two errors. Firstly, Source error Http, Event ID 15005 with Description: 'Unable to bind to the underlying transport for Gateway/Router:80. The IP Listen-Only list may contain a reference to an interface which may not exist on this machine. The data field contains the error number.'
Secondly, Source error WS3VC, Event ID 1004, with Description: ;Cannot register the URL prefix 'http://*:80/' for site '1'. The site has been deactivated. The data field contains the error number.'
Thanks.
|
|
Rank: Administration Groups: Administration, Moderator
Joined: 6/18/2004 Posts: 735 Location: Malaysia
|
1) I think you can just remove all HTTPCFG delete iplisten -i x.x.x.x
2) check out this key ListenOnlyList REG_MULTI_SZ \HKLM\system\CurrentControlSet\Services\HTTP\Parameters
any ip address there ? delete those unrelated.
3) then use httcfg to set the machine IP. then restart IIS services
Regards, Bernard Cheah http://www.msmvps.com/bernard/
|
|
|
Guest |