Link to home
Start Free TrialLog in
Avatar of honestjohn3000
honestjohn3000

asked on

OPENING PORTS OTHER THAN 80 Apache/1.3.31 Server

WOULD LIKE TO OPEN PORT OTHER THEN PORT 80 I.E. 88 ?

HOW TO CONFIGURE?

THANK YOU

JOHN
Avatar of periwinkle
periwinkle
Flag of United States of America image

Windows?  Linux?
88 is generally a port reserved for use by Kerberos.  For my example below, I've used 8088

For the Apache portion of the configuration, you'd simply add:

Listen 8088
NameVirtualHost xxx.xxx.xxx.xxx:8088

<VirtualHost xxx.xxx.xxx.xxx:8088>
...
</VirtualHost>

where xxx.xxx.xxx.xxx is your IP address.

On a Linux server, you'd also add an appropriate line to the /etc/services file

Under Windows, I'll let someone else respond :)
Even easier under Windows!
- Same as already pointed out by Periwinkle for Linux, though on Windows you need to edit only one line in your httpd.conf file (can be found in your apache conf directory)

- Change 'Listen xxx.xxx.xxx.xxx:8088' to 'Listen xxx.xxx.xxx.xxx:8088' (substitute the Xs with your IP address)

- The next line 'Listen 80' should be commented out (# Listen 80)
- Don't forget to restart apache after editing httpd.conf :-)

Good Luck!
I would think that these should work just fine.
---
Listen 80
Listen 8088
---
and
---
Listen 80 8088
---
- You can read up more on this through the following link...
http://httpd.apache.org/docs-2.0/bind.html

Good Luck!
ASKER CERTIFIED SOLUTION
Avatar of modulo
modulo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial