Koozali.org: home of the SME Server

change http port

joako

change http port
« on: November 17, 2001, 10:46:09 PM »
I cannot use port 80 for http because my isp blocked it a long time ago due to code red and some other internet worm and they are just going to leave it like that, at least for now. when i was running apache on windows all i had to do was edit the httpd.conf file but i cant find it. in need it to be port 81 or port 8000

Des Dougan

Re: change http port
« Reply #1 on: November 17, 2001, 11:53:40 PM »
Go to http://www.e-smith.org/custom/ - you'll find instructions there on how to use the template system.

Des Dougan

Kees

Re: change http port
« Reply #2 on: November 19, 2001, 12:07:02 AM »
etc/e-smith/templates/etc/services
change (template-begin) file:
ftp-data change this into, for example, 3000
ftp change this, for example, 3001
and:
etc/e-smith/templates/etc/proftpd.conf. Filename 05port.
Change 21 into 3001. Now your ftp listens at 3001.
Also in the template-begin file you have to change your www and http port.
Change 80 into 5080 (or another number)
www en http port:
etc/e-smith/templates/etc/httpd/conf/httpd.conf
35Listen80 and 80Aliases00. Change in these files 80 into 5080.

Restart.
Now your webaddress should be:
http://www.yourdomain.xxx:5080

Good luck.

Stan

Re: change http port
« Reply #3 on: November 21, 2001, 08:05:21 PM »
Great Info, just what I was looking for. Only have one question. If your web address changes to http://www.yourdomain.xxx:5080 then what does your FTP address look like? Or does your FTP address stay the same?

Harry

Re: change http port
« Reply #4 on: December 01, 2001, 03:40:07 PM »
If you assigned another port number you must login with that port number.
Standard the ftp port is 21. But when your ISP blocked port 21 you must use the port you assigned as subscribed in the erlier reply.

So, if you assigned port 2050 to the ftp port the address will be:
ftp://ibayname:password@yourdomain.xxx:2050

or
change the default port settings in for example WS_FTP

Success