.NET Programming
--
Questions
--
Followers
Top Experts
What I already tried.
1. I ping localhost - everything fine
2. Add role to firewall to port 80
3. by using netstat -a tried to find what happen in port 80. However I did find any mentions of port 80 in list
4. tried just type telnet google.com 80 -> it's work
5. I opened IIS manager -> it's work
6. tried to type in address line in 3 different browser http://localhost or 127.0.0.1 don't work
and fiddler tell me that [Fiddler] The socket connection to localhost failed.
ErrorCode: 10051.
A socket operation was attempted to an unreachable network 127.0.0.1:80
7. BTW I need localhost for making virtual directory and I install everything that suggest me VS 2010 and run cmd.exe and VS 2010 as admin
and still get error that : Unable to create the virtual directory . could not find the server http://localhost on the local machine. Creating a virtual directory is only supported on the local IIS server.
8. I also tried to make changes in host file (in /drive/etc/host ) (I mean 127.0.0.1 localhost without #)
PS I use Windows 7 , VS 2010
Please help me
Many thanks in advance
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
check the following reg key to verify the decimal value:
HKEY_LOCAL_MACHINE\SYSTEM\
if the decimal value is 80 run iisreset from the command line, then run inetmgr and go to your website and check the bindings and do a browse to from the site in iis.
btw , I haven't website I just wanna run virtual directory for study purpose






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
The IP address (say 10.20.30.40)
and the localhost IP (which is 127.0.0.X)
When you run any service on an IP, you bind it to a port and to an address.
If you run a web server on port 80 on the machine above - there are 3 different addresses you could list. You can say 10.20.30.40 which means that any traffic to that address will get piked up. But anything to any other address (including 127.0.0.1) will be ignored.
You can bind it to 127.0.0.1 which will then work as localhost but ignore anything to any other address like 10.20.30.40.
...or... you can bind to 0.0.0.0 which means 'grab anything'
Both 10.20.30.40 and 127.0.0.1 will be accepted.
So start by making sure your web server is running - then check what address it is bound to. From what you have described - I'm guessing you have bound it to your IP address so it is ignoring 127.0.0.1 (aka localhost)

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
So start by making sure your web server is runninghow I can check it ? As far as I'm understand I should seen this default picture (atachment ) when I type in address line localhost... Am i right ?
http://www.iis.net/learn/install/installing-iis-7/installing-iis-on-windows-vista-and-windows-7
This will allow us to run inetmgr and give us an easier option to troubleshoot your settings.
Can you please add iis management console to your windows features:
http://www.iis.net/learn/install/installing-iis-7/installing-iis-on-windows-vista-and-windows-7
This will allow us to run inetmgr and give us an easier option to troubleshoot your settings.
Yes of course just a second I make it asap






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Can you please add iis management console to your windows features:
http://www.iis.net/learn/install/installing-iis-7/installing-iis-on-windows-vista-and-windows-7
This will allow us to run inetmgr and give us an easier option to troubleshoot your settings.
Yes of course just a second I make it asap
I added... may I should add something else ?
once there expand your computer name and click on your site
then click on bindings on the right that should tell you what port is bound to "http"
go to start - run - inetmgr
once there expand your computer name and click on your site
then click on bindings on the right that should tell you what port is bound to "http"
sites folder in empty
may be "application pool" "advance setting" can get you some clue ?
What I do wront again ? please forgive me for my noobism...

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
So create a new site and point it to your folder your website files will be
You can then create your app pools and virtual directories etc.
When you do get them loaded up - an easy way to check they are attached and you have it bound to the right IP is to go to a cmd window and type in
netstat -an
this shows the open listening ports and which IP they are attached to.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
http://www.youtube.com/watch?v=W9wr8qkQopw
May be there less painfull solution please, look forward for your advices

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
I add line
<add name="http" />
to this part of file <listenerAdapters>
<add name="net.tcp" identity="S-1-5-80-3579033775-2824656752-1522793541-1960352512-462907086" />
<add name="net.pipe" identity="S-1-5-80-2943419899-937267781-4189664001-1229628381-3982115073" />
<add name="net.msmq" identity="S-1-5-80-89244771-1762554971-1007993102-348796144-2203111529" />
<add name="msmq.formatname" identity="S-1-5-80-89244771-1762554971-1007993102-348796144-2203111529" />
</listenerAdapters>
and I get that binding http is appears... However any IP address that try to choose gives me invalid message (see attachment ) What should I try to do next ? Please give me a clue
I would just wipe my iis install (s) and recycle the box and start afresh with a new iis install.
Something else seems to be broken here and it might make sense just to start with a clean slate so we can verify what is actually on the box.

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
telnet localhost 80 let me know if that works.
you should be able to add telnet as a feature to windows 7 if it does not exist.
also what ip addresses are your sites bound to and what port is http bound to on each ?






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
You should open a second question for the virtual directory issue, I will check for that and see if we can resolve that as well, which should be easy.
so what is happening here is IIS need to have defined MIME handlers eg:
If I have a .php page I need to tell iis what to do with files with that extension.
E.g. If I have a .cfm page I would need to have a MIME handler indicating what engine on my webserver would handle that file type, more info below.
http://technet.microsoft.com/en-us/library/cc725608%28v=ws.10%29.aspx
This is work ! Not how I expect but without error and problems... Any ways very first topic is done... Thanks you very much you my hero! Without your help I definitely waste much more time ! Ones again thanks you ! Hope that you will be navigate me through world of wcf/ .net in the future
best regards

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
best regards
.NET Programming
--
Questions
--
Followers
Top Experts
The .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly build applications. Several supported languages include C#, VB.NET, C++ or ASP.NET.