Host file and IIS binding not working

  Today, I'd like to simulate a DNS at my local site but I got some weird error.

ping  , It can be got a normal reply.

Setup file adding a record.

2.IIS adding a bindng

I found the answer at StackOverflow although that it was not being marked the right answer but it is exactly what I want.

1 Checking IP address List has a record
netsh http show iplisten

My was being removed.

2.Adding a record,This command needs a higher permission.e.g. Administrator
netsh http add iplisten ipaddress=

Checking again

3.After IISreset that can be work.


Popular posts from this blog

Stopping TypeScript Compile to accelerate debugging

VS2017 Unable to copy file roslyn