Operating System - HP-UX
1753347 Members
4878 Online
108792 Solutions
New Discussion юеВ

Running Apache on port 8080

 
Sutapa Dey
Frequent Advisor

Running Apache on port 8080

Hi All,

I need some help on Apache configuration. I want to run Apache on port 8080, I changed httpd.conf for:
1. Listen 8080
2. ServerName

And then restarted Apache and if I specify the URL with the port Apache is running fine. But I don't want to specify the port with the URL.

Is there anyways I can do it because without the port the URL is not working?
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: Running Apache on port 8080

Shalom,

shut down apache.

netstat -an | grep ":8080"

You probably already have something running on the port.

As I recall Oracle sometimes likes to run something on that port.

Always check the port before trying to use the port.

Also check the error_log file of apache.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sutapa Dey
Frequent Advisor

Re: Running Apache on port 8080

Hi I checked there is no other process running on 8080 port.

I also tried configuring the VirtualHost but to no avail.
Ivan Krastev
Honored Contributor

Re: Running Apache on port 8080

If you don't want to specify the port (8080) all browsers will use the defaul (80).
You can start another instance on port 80, which will redirect all to port 8080 or use IPFilter to do the same.

regards,
ivan
Sutapa Dey
Frequent Advisor

Re: Running Apache on port 8080

Hey Ivan,

Please let me know how I can redirect to port 8080 through port 80.

Thanks and Regards,
Sutapa
Ivan Krastev
Honored Contributor

Re: Running Apache on port 8080