Navigate
Home
ArticleWiki
Forum
Journal
Search
Newsletter
Links
Tech News
expertsrt.com
Welcome Guest.
Username:

Password:

Remember me

Unable to connect error on XP
Welcome, Guest. Please login or register.
December 02, 2008, 08:37:02 AM
11304 Posts in 1248 Topics by 498 Members
Latest Member: katCheeme
Experts Round Table Network  |  Webservers  |  Apache  |  Unable to connect error on XP « previous next »
Pages: [1]
Author Topic: Unable to connect error on XP  (Read 1146 times)
Grinder

Offline Offline

Posts: 2


« on: June 06, 2007, 08:19:07 PM »

I pretty new at this so bear with me...

I'm running Windows XP and I just installed Apache 2.2.4 and everything seems to be running. Checking under the Admin tools > Services, I see Apache running and can turn it off and on with no problems. When I try going to "http://localhost/" in Firefox , I receive a "Unable to connect... Can't establish a connection to the server at locahost" error. A similar "Page cannot be displayed" error comes up in Internet Explorer. After going through the other relevant topics in this part of the forum if determined that going to "http://127.0.0.1:8080/" and "http://localhost:8080/" both bring up the "It works!" page.

Since I have Apache installed as a service, shouldn't the "http://localhost/" work? And if so, what do I need to do to get it to work?
Logged
CrYpTiC_MauleR
Site Builder

Offline Offline

Posts: 489



WWW
« Reply #1 on: June 06, 2007, 09:33:35 PM »

you have your Listen directive set to port 8080

Listen 8080

should be

Listen 80

that way you dont need to specify port number when accessing it since port 80 is the default HTTP port. The directive is in your httpd.conf file.
« Last Edit: June 07, 2007, 09:48:46 PM by CrYpTiC_MauleR » Logged

[x] Fight | www.crypticmauler.com
"You must be
VGR
Mentor

Offline Offline

Posts: 682



WWW
« Reply #2 on: June 07, 2007, 12:17:02 PM »

yes.

when you chose "install as a service for all users", you failed to notice that it also said "on port 8080" (silly idea if you ask me). The alternative was "run in console mode" [this user only]
basically, none of those two options is fully satisfactory. Now is time for you to learn how to play with httpd.conf ;-)
have fun... and use the online "httpd server" documentation on www.apache.org
regards
Logged

techie overlord, answers all kind of questions on http://www.europeanexperts.org
Grinder

Offline Offline

Posts: 2


« Reply #3 on: June 08, 2007, 06:38:30 PM »

Well, that did the trick. I thought I saw that in one of the previous posts and tried it out. I guess not though. Thanks!
Logged
Pages: [1]
« previous next »
    Jump to: