LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-14-2007, 02:10 PM   #1
windycity_linux
Member
 
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, 02:53 PM   #2
JimBass
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.

Peace,
JimBass
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:28 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration