Go Back   PCMech Forums > Help & Discussion > Internet, Web Applications, & The Cloud

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 07-21-2002, 01:36 AM   #1
Member (9 bit)
 
Join Date: May 2002
Posts: 485
Send a message via ICQ to JC00
localhost problems in apache

i'm a newbie at installing apache and java.

i have reached succesfully only up to the testing part of http://localhost in this tutorial at http://www.devshed.com/Server_Side/J...ev/page1.html. the problem is that the only message that appears in IE is Cannot find server/dns error.

the machine is running win xp pro and i have disabled my zonealarm firewall. i also pinged my own computer and the ping has no problems

do you have any suggestions why http://localhost:8080 doesn't work?
JC00 is offline   Reply With Quote
Old 07-21-2002, 03:59 AM   #2
Banned
 
Join Date: Jul 2002
Posts: 257
Do you need apache cause I know one that would be much easier to install if it will work with what your doing check it out I use it I like it better than apache http://omnicron.ca
Justin26k is offline   Reply With Quote
Old 07-21-2002, 05:01 AM   #3
Member (9 bit)
 
Join Date: May 2002
Posts: 485
Send a message via ICQ to JC00
thanks for the help but i really need apache to work.
JC00 is offline   Reply With Quote
Old 07-21-2002, 05:13 AM   #4
Banned
 
Join Date: Jul 2002
Posts: 257
May I ask why apache?
Justin26k is offline   Reply With Quote
Old 07-21-2002, 06:08 AM   #5
Premium Member
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
Can you ping 'localhost'? or ping 127.0.0.1?

If you cant, you might need to create/edit the file
C:\WinNT\SYSTEM32\DRIVERS\ETC\hosts and verify that the entry
Quote:
127.0.0.1     localhost
is there.


Btw .. can u connect to
http://127.0.0.1/ ?
Statica is offline   Reply With Quote
Old 07-21-2002, 07:59 AM   #6
Member (9 bit)
 
Join Date: May 2002
Posts: 485
Send a message via ICQ to JC00
yes. i can ping 127.0.0.1 and localhost
JC00 is offline   Reply With Quote
Old 07-21-2002, 08:00 AM   #7
Member (9 bit)
 
Join Date: May 2002
Posts: 485
Send a message via ICQ to JC00
Quote:
Originally posted by Justin26k
May I ask why apache?
i'm doing a self-study on web developing and i'm not even in the first step yet.

this would be a lot of work
JC00 is offline   Reply With Quote
Old 07-21-2002, 08:30 AM   #8
aym
Registered User
 
aym's Avatar
 
Join Date: Nov 2001
Posts: 1,965
JC00, did you try http://127.0.0.1 instead of http://localhost ?
aym is offline   Reply With Quote
Old 07-21-2002, 10:50 AM   #9
Member (9 bit)
 
Join Date: May 2002
Posts: 485
Send a message via ICQ to JC00
Quote:
Originally posted by aym_7
JC00, did you try http://127.0.0.1 instead of http://localhost ?
yes
JC00 is offline   Reply With Quote
Old 07-21-2002, 04:37 PM   #10
Member (10 bit)
 
Join Date: Apr 2001
Location: Michigan
Posts: 850
Send a message via ICQ to HackinCowboy
You don't happen to have IIS running concurrently would you? I've never tried it before, but running 2 web servers like that seems like you'd run into some problems.
HackinCowboy is offline   Reply With Quote
Old 07-23-2002, 07:32 AM   #11
Member (9 bit)
 
Join Date: Jan 2002
Location: UK
Posts: 389
Re: localhost problems in apache

Quote:
Originally posted by JC00
do you have any suggestions why http://localhost:8080 doesn't work?
port 8080 wouldnt work as standard as the main (default) port for apache is port 80
8080 is more commonly used for proxy services

Regards,
James
Battery Powered is offline   Reply With Quote
Old 07-23-2002, 07:39 AM   #12
Member (9 bit)
 
Join Date: Jan 2002
Location: UK
Posts: 389
Just on a side note,
If you would prefer to operate the server on 8080 open up
/PathToApache/conf/httpd.conf with a text editor and do a search for 'Listen 80',
Change that line to Listen 8080

Restart the server

Then try (in browser) http://localhost:8080 or http://127.0.0.1:8080

James
Battery Powered is offline   Reply With Quote
Old 07-25-2002, 12:14 AM   #13
Member (9 bit)
 
Join Date: May 2002
Posts: 485
Send a message via ICQ to JC00
it's working. thanks for the help. i changed the proxy in ie.
JC00 is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:28 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2