In win2003, after an IP address is changed, the site in IIS cannot be started. When it is started, "the format of the specified network name is invalid" appears. How can this problem be solved ??
This is related to the previous IP address bound to the system. You only need to modify the binding-related data in the previous IIS configuration file.
Command Line
Bound to an IP address: httpcfg set iplisten-I 192.168.0.1
That is, the command uses IIS to only listen to the specified IP address and port
View binding: httpcfg query iplisten
Delete binding: httpcfg Delete iplisten-I 192.168.0.1
To solve this problem, you only need to delete the previously bound IP address and then bind 0.0.0.0 to restart the server. in IIS, select all unassigned IP addresses.
Httpcfg has. http://support.microsoft.com/kb/813368/ on Windows 2003 CD
Restart IIS
1. Interface operations
Right-click my computer on the desktop --> Manage --> services and applicationsProgram"-->" Service "find" IIS Admin Service ", right-click" restart ", and the" Stop Other Services "window appears. Click" yes ". Alternatively, double-click "IIS Admin Service" and click "stop". The "Stop Other Services" window is displayed. Click "yes" to stop the "IIS Admin Service, click "start" to restart the instance.
2. Command operations
System "start" --> "run" command, Enter cmd and press ENTER
Enter net stop IISADMIN/y and press Enter.
After the command is complete, enter Net start w3svc and press enter to restart.
Or press enter directly using the iisreset command in cmd to restart IIS.