Link to home
Start Free TrialLog in
Avatar of Igor50
Igor50

asked on

IIS on Microsoft Surface Pro

I have enabled IIS on my Microsoft Surface Pro running Windows 8. When I start cmd and try "ping localhost" it seems to be working:

C:\windows\system32>ping localhost

Pinging Surface_pro [::1] with 32 bytes of data:
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms

Ping statistics for ::1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

But when I type localhost in Internet Explorer I get "The webpage cannot be found".

How do I fix this?
Avatar of peter197911
peter197911
Flag of Netherlands image

try browsing to 127.0.0.1 (which is the ip address for local host).
It seems you have IPV6 enabled

I think browsing to http://127.0.0.1  should do the job.
Avatar of Dave Baldwin
Ping is the ICMP service which is entirely different from HTTP service used to access web sites.  Usually 'localhost' is defined in your 'hosts' file.  And like @peter197911 points out, it can be IPV4 or IPV6.  But IIS also has a place where you tell it what IP addresses to recognize.  The two places have to agree for 'localhost' to take you to IIS in Internet Explorer.
Avatar of Igor50
Igor50

ASKER

Browsing to 127.0.0.1 makes no difference.

I read elsewhere that you have to go to Control Panel/Programs and Features/Turn Windows features on or off. And there enable "the options you need". Ok... which ones are they? There are really many options.
uhm, as Dave tells. You are mixing things up.

Are you 100% sure you did enable IIS?
The ping command makes no sense indeed.

Go to "Ädministrative Tools"  and look sfor IIS admin.
See if you can find out something there.
ASKER CERTIFIED SOLUTION
Avatar of Igor50
Igor50

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Igor50

ASKER

I went to Administrative Tools and enabled more options (I really don't know what they all mean). However, It solved the problem. It works now.
Avatar of Igor50

ASKER

It got me in the right direction.