Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with apache when changing the listening port

Status
Not open for further replies.

FadeOut

Programmer
Mar 27, 2004
14
0
0
CA
Hi,

I got an newly installed fedora core 5 linux box, and I am working in a company, but we need to have access to our website outside the internal network (from internet). So i decided to change the port, because my provider won't let us use port 80. (Seems that 8080 do not work neither) But, when i use port 8888, and restart, it will failed everytime, can anyone can help me with this tiny problem?


 
How do you conclude it failed?

What did you write in httpd.conf to set the port?

Have you checked firewall settings on the LAN and local server?

D.E.R. Management - IT Project Management Consulting
 
thedaver :
I'd concluded it failed because when i typed :
service httpd restart, it stopped [ok] and it started [FAILED]

in httpd.conf I wrote :

Listen 8888



Sleipnir:
Where can i find those logs, i'm kind of rusty in the linux world (last time I was in touch with it, it was with mandrake 7.2)

 
You could also ask Apache. In your httpd.conf file there will be a ErrorLog line. That line tells Apache where the error log is.

You could very well have more than one ErrorLog line, with some inside VirtualHost tags. You'll want the line that is outside any tags.



Want the best answers? Ask the best questions! TANSTAAFL!
 
I've checked in /var/log/httpd/error_log but, it doesn't seems to have any information about the problem :(


(i've rebooted the server, and checked the last line, no lines were added since the first time i've checked)
 
If all you have changed is the Listen directive then I would say it is not starting because port 8888 in already in use or is closed by your firewall. If you use a non-standard port then remember that users will need to use the port in the url i.e. or port 80 will be assumed. If this is not acceptable, you may try a pointing service. They can point your domain name or a free sub-domain to a dynamic ip as well as a different port. A couple I can think of off the top of my head are dns2go, dyndns and tzo.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top