LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   PLESK [Solution] Change port to 23 (telnet) instead of default port 8443 (https://www.linuxquestions.org/questions/linux-software-2/plesk-%5Bsolution%5D-change-port-to-23-telnet-instead-of-default-port-8443-a-163483/)

x5452 03-28-2004 05:43 PM

PLESK [Solution] Change port to 23 (telnet) instead of default port 8443
 
The followings show u how to configure the psa listen to port 21 (telnet) rather than default port 8443.

I wrote this because the port 8443 is blocked in LAN's envrionment.

- vi /usr/local/psa/admin/conf/httpsd.conf
- line #178
Code:

Listen 8443
- Change to:
Code:

Listen 23
then,
- vi /etc/services
- line #47-48
Code:

telnet          23/tcp
telnet          23/udp

- Change to:
Code:

telnet          24/tcp
telnet          24/udp

then,
- /etc/init.d/xinetd stop
- /etc/init.d/psa stop
- /etc/init.d/xinetd start
- /etc/init.d/psa start

x5452 03-28-2004 05:43 PM

However, i want to configure psa to listen ftp port instead.

I tried use the similar methods to do so but failed.
Anyone have idea?

x5452 03-28-2004 05:44 PM

this is my modications to /etc/services
Code:

ftp            24/tcp
ftp            24/udp          fsp fspd
ssh            22/tcp                          # SSH Remote Login Protocol
ssh            22/udp                          # SSH Remote Login Protocol
telnet          23/tcp
telnet          23/udp

this is the ps -n tcp returns:
Code:

/$ fuser -n tcp 21
21/tcp:              1257  1259  1260  1261  1262  1263
/$ fuser -n tcp 22
22/tcp:                853  1805
/$ fuser -n tcp 23
23/tcp:                853
/$ fuser -n tcp 24
24/tcp:                853
/$ ps 1805
  PID TTY      STAT  TIME COMMAND
 1805 ?        S      0:00 sshd: root@pts/0
/$ ps 853
  PID TTY      STAT  TIME COMMAND
  853 ?        S      0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
/$ ps 1257 1259 1260 1261 1262 1263
  PID TTY      STAT  TIME COMMAND
 1257 ?        S      0:00 /usr/local/psa/admin/bin/httpsd
 1259 ?        S      0:00 /usr/local/psa/admin/bin/httpsd
 1260 ?        S      0:00 /usr/local/psa/admin/bin/httpsd
 1261 ?        S      0:00 /usr/local/psa/admin/bin/httpsd
 1262 ?        S      0:00 /usr/local/psa/admin/bin/httpsd
 1263 ?        S      0:00 /usr/local/psa/admin/bin/httpsd


x5452 03-28-2004 05:44 PM

the 21 port only using by psa programs.
but why plesk cannot be load using port 21 (ftp port)?

i can make it to use telnet but ftp?
this is why i wonder.
any idea?

Cookie-Monkey 07-19-2006 07:42 AM

Update to port change!
 
Version 8.0.1 came out... the above no longer works so do the following too...

Change the first "Listen 8443" to "Listen 23"
And then scroll down and change the <VirtualHost *:8443> to <VirtualHost *:23>
Save and reset as above and it will work nicely...

Cheers,

Matthew

PS. Using port 23 seems to avoid the "throttling issues" you may experience when using broadband as the ISPs seem to avoid throttling port 23, well not as much as mine throttles Port 8443.

superkikim 04-17-2009 04:56 AM

Version 9 came out
 
Version 9 came out and this is not accurate anymore.

I'm unable to find the file httpds.conf .... And I'm unable to find any file with "Listen 8443" inside....

eugenevdm 05-10-2009 06:58 AM

Quote:

Originally Posted by superkikim (Post 3511994)
Version 9 came out and this is not accurate anymore.

I'm unable to find the file httpds.conf .... And I'm unable to find any file with "Listen 8443" inside....

I am very interested in finding a solution for Plesk 9. I prefer to run Plesk on port 80.


All times are GMT -5. The time now is 09:29 PM.