Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Wednesday, March 18, 2015 8:06 AM
Hi all. I have a problem with IIS 7 setup. Since I'm not very good at networking I do not understand the cause of the problem.
So when I add binding such as:
IIS Manager->Bindings...->Add->
Type: http
IP address: All Unassigned
Port: 8080
But when I use netstat -aon command I see that IIS listening 127.0.0.1:8080 instead 0.0.0.0:8080.
So when I run nginx with listening for example on localhost:80 I see 0.0.0.0:80 in netstat output and nginx is available from the outside world but IIS with 127.0.0.1:8080 listening in netstat output is not available.
So I think that the problem in listening 127.0.0.1:8080 instead 0.0.0.0:8080.
I tried to ask for advice on stackoverflow and serverfault but got a only negative rating. I do not know, or because of the stupid question or poor English. I hope very much for your help here.
All replies (3)
Wednesday, March 18, 2015 1:32 PM âś…Answered
Thanks to all. Problem is solved.
I use command:
>>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 I restarted iis server.
Wednesday, March 18, 2015 9:46 AM
I do not understand your problem.
Ignore netstat with 127.0.0.1:8080 versus 0.0.0.0:8080 for now.
And explain to us what your problem is.
Wednesday, March 18, 2015 10:14 AM
Problem is that I have public ip:port that refers to 8080 port on remote server with iis.
When I setup nginx with localhost:8080 listening I have access to it with this public ip:port via some client (curl or browser) on other computer. And with netstat I see 0.0.0.0:8080 listening by nginx.
But when I stop my nginx and trying to setup my iis to all assigned ips with 8080 port then I haven't access to it by public ip:port, only locally via localhost:8080 on remote server. And with netstat -aon I see new 127.0.0.1:8080 listening by iis instead 0.0.0.0:8080 listening.