Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-14-2007, 03:10 PM   #1
Registered: Mar 2006
Distribution: rhel 5
Posts: 74

Rep: Reputation: 15
ports for services

Is there a command / services that assigns ports dynamically to services? (ie port 13920 for a ftp client)
Old 01-14-2007, 03:53 PM   #2
Senior Member
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
That is controlled by the server and the client. For example, if you connect to a ftp server, it makes its initial request at port 21, then the server tells your client something like, "go to port 15342 for further info", and then they communicate at that port. The server can be told to run on a different port through its configuration, but that is just the initial contact port, then the server always spins it off to some other free port.

I don't think there is anyway to control what port is chosen. Certainly not from the client, and probably not from the server either.



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
portsentry opens ports/services? mikeghet Linux - Security 2 04-23-2005 02:03 AM
Closing ports/stopping services New2MDK Linux - General 5 02-15-2005 01:24 PM
Nmapfe, open ports, and running services jrdioko Linux - Security 20 09-04-2004 04:25 PM
how 2 get ports having services currently running 00it45 Linux - General 5 03-11-2004 08:59 AM
Slackware n()()b and closing open ports/services osx Slackware 8 03-10-2003 01:51 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:18 PM.

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