|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (9 bit)
|
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? |
|
|
|
|
|
#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
|
|
|
|
|
|
#3 |
|
Member (9 bit)
|
thanks for the help but i really need apache to work.
|
|
|
|
|
|
#4 |
|
Banned
Join Date: Jul 2002
Posts: 257
|
May I ask why apache?
|
|
|
|
|
|
#5 | |
|
Premium Member
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:
Btw .. can u connect to http://127.0.0.1/ ? |
|
|
|
|
|
|
#6 |
|
Member (9 bit)
|
yes. i can ping 127.0.0.1 and localhost
|
|
|
|
|
|
#7 | |
|
Member (9 bit)
|
Quote:
this would be a lot of work |
|
|
|
|
|
|
#8 |
|
Registered User
Join Date: Nov 2001
Posts: 1,965
|
JC00, did you try http://127.0.0.1 instead of http://localhost ?
|
|
|
|
|
|
#9 | |
|
Member (9 bit)
|
Quote:
|
|
|
|
|
|
|
#10 |
|
Member (10 bit)
|
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.
|
|
|
|
|
|
#11 | |
|
Member (9 bit)
Join Date: Jan 2002
Location: UK
Posts: 389
|
Re: localhost problems in apache
Quote:
8080 is more commonly used for proxy services Regards, James |
|
|
|
|
|
|
#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 |
|
|
|
|
|
#13 |
|
Member (9 bit)
|
it's working. thanks for the help. i changed the proxy in ie.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|