The Format of the Specified Network Name is invalid | IIS Error |

Опубликовано: 05 Октябрь 2024
на канале: Kamran Awan
1,368
42

The Format of the Specified Network Name is invalid, ( Exception from HRESULT: 0*800704BE)
Problem IIS is holding on to an IP and you cannot get it to listen to the right IP.

Commands:
netsh http show iplisten

and saw 127.0.0.1 in listening list.
(But I didn't add it manually). So I delete it and add 0.0.0.0 instead

netsh http delete iplisten ipaddress=127.0.0.1

netsh http add iplisten ipaddress=0.0.0.0

then restart iis server

iisreset