Computing.Net > Forums > Solaris > where two change port# on Sol9-ftpd

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

where two change port# on Sol9-ftpd

Reply to Message Icon

Name: alien2xx
Date: March 18, 2004 at 13:46:33 Pacific
OS: Solaris 9
CPU/Ram: 333MHz 256MB
Comment:

DOes anybody know where to change the port number for ftpd on Solaris 9 (spac), the default is on 21, I need to change it to a different number... I can't find infor on the web or sun..

Thanks!
alien2xx




Sponsored Link
Ads by Google

Response Number 1
Name: jonobr
Date: March 18, 2004 at 14:12:19 Pacific
Reply:

Hello

I dont know about sol 9 but sol 8 its in /etc/services . Has it changed for 9?
If your changing dont forgot there is a control and a data port for FTP 20 &21

Cheers

Jonob


0

Response Number 2
Name: alien2xx
Date: March 18, 2004 at 18:20:15 Pacific
Reply:

Cool, it's there ... my fault... I looked there but I did not looked from the beginning of it...
what is the 20 (ftp-data) for? I know 21 is the one I am looking for th.


thanks much! boy! I need some sleep...


0

Response Number 3
Name: jonobr
Date: March 19, 2004 at 07:52:18 Pacific
Reply:

Hello


Exchange of data is done across port 20.
IMagine port 20 was blocked, what you would see is that you could log in but when you did an ls or a get or put nothing would happen..


Ciao

Jonob


0

Response Number 4
Name: alien2xx
Date: March 21, 2004 at 04:14:44 Pacific
Reply:

Janob,
I tried changing the port number on the /etc/services to another number not listed on this list, I can access the ftp from within the LAN with no problem, but from outside I can't access it anymore, I forward the new number at the router but I can't seem to get anything, I can login but it times out and I don't see the 'directory' anymore..
Is there any other change I need to make to have this done? do I need to forward port 20 (hard code it on the router) if I change the default port 21 (ftp port)?

Any suggestions?
Thanks!
alien2xx


0

Response Number 5
Name: jonobr
Date: March 24, 2004 at 00:59:08 Pacific
Reply:

Hello


It sounds like as if port 20 is blocked.
The best way is to do a snoop to see what happens when you try to do what you want to do.



0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: where two change port# on Sol9-ftpd

Serial Port www.computing.net/answers/solaris/serial-port/628.html

Weblogic port on solaris 5.8 www.computing.net/answers/solaris/weblogic-port-on-solaris-58/4142.html

Open ports on Solaris 10 www.computing.net/answers/solaris/open-ports-on-solaris-10/4811.html