LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-28-2004, 04:43 PM   #1
x5452
Member
 
Registered: Mar 2004
Posts: 30

Rep: Reputation: 15
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
 
Old 03-28-2004, 04:43 PM   #2
x5452
Member
 
Registered: Mar 2004
Posts: 30

Original Poster
Rep: Reputation: 15
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?
 
Old 03-28-2004, 04:44 PM   #3
x5452
Member
 
Registered: Mar 2004
Posts: 30

Original Poster
Rep: Reputation: 15
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
 
Old 03-28-2004, 04:44 PM   #4
x5452
Member
 
Registered: Mar 2004
Posts: 30

Original Poster
Rep: Reputation: 15
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?
 
Old 07-19-2006, 06:42 AM   #5
Cookie-Monkey
LQ Newbie
 
Registered: Jul 2006
Posts: 1

Rep: Reputation: 0
Exclamation 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.
 
Old 04-17-2009, 03:56 AM   #6
superkikim
LQ Newbie
 
Registered: Aug 2006
Posts: 8

Rep: Reputation: 0
Angry 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....
 
Old 05-10-2009, 05:58 AM   #7
eugenevdm
LQ Newbie
 
Registered: Mar 2005
Posts: 6

Rep: Reputation: 0
Quote:
Originally Posted by superkikim View Post
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.

Last edited by eugenevdm; 05-10-2009 at 06:01 AM. Reason: Adding tags
 
  


Reply

Tags
plesk, port


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot telnet port 25 varun_saa Mandriva 2 12-30-2006 11:25 PM
telnet to different port kenhrl Linux - Networking 3 10-29-2004 04:15 PM
Change Telnet Port acbenny Linux - Networking 2 07-22-2004 08:05 AM
Able to change port number between telnet and ssh? x5452 Linux - General 3 03-28-2004 05:04 PM
telnet port 80 doodah Linux - Networking 4 04-27-2001 08:01 AM


All times are GMT -5. The time now is 05:13 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration