Changing SSH and Apache ports

Scot L. Harris webid at cfl.rr.com
Wed Dec 14 22:05:14 UTC 2005


On Wed, 2005-12-14 at 16:51, Dotan Cohen wrote:
> I thought that this would be easy, but I am having no luck.
> 
> Could some please point me to a tutorial whereby I could learn to
> change what port I would use to ssh into my Fedora Core 4 machine? I
> once read one, but all the googleing in the world isn't turning it
> back up. I would also like to leave apache up to show off some things,
> how could I change it's port number as well?
> 
> Thanks in advance. Please accept my apolozies for this STFW- I am
> "S"ing but not finding anything.

Forgot to include info on apache.

Modify your httpd.conf file and change the Listen statement similar to
below:

Listen 192.168.30.240:3081

The 3081 is the port it will listen on.






More information about the fedora-list mailing list