If you need urgent support, call 999 or go to your nearest A&E. To contact our Crisis Messenger (open 24/7) text THEMIX to 85258.
Options
specifying port numbers
Former Member
Posts: 1,876,323 The Mix Honorary Guru
in General Chat
OK, heres a question that may or may not let me win a bet...
Is it possible to change the port used by a protocol? Any transmission protocal will be accepted, such as FTP, Telnet or PPTP.
Each of those mentioned uses a specifed port number, and i wanted to know if it was possible to alter that port, on any in use system (windows X, linux, (bah!)mac...etc).
Oh, not just whether its posible or not, but how to do it.
Can anyone help?
Thanks
Is it possible to change the port used by a protocol? Any transmission protocal will be accepted, such as FTP, Telnet or PPTP.
Each of those mentioned uses a specifed port number, and i wanted to know if it was possible to alter that port, on any in use system (windows X, linux, (bah!)mac...etc).
Oh, not just whether its posible or not, but how to do it.
Can anyone help?
Thanks
0
Comments
Yes it is possible with telnet ie:
telnet surfers.org 4242
For Unix systems anything below 1024 is for system use only not for users.
On a server to do this you'd use a script to redirect IO from a socket to another socket to circumvent firewall's supressing certain sockets.
http://www.oreilly.com/openbook/webclient/ch04.html
Yes it is possible with telnet ie:
telnet surfers.org 4242
Not that i want to seem ungrateful, but this is specifying what port you telnet to, but the local system is still using the sam eport for the outgoing connection.
For Unix systems anything below 1024 is for system use only not for users.
[b/]
not heard of this... if everything under 1024 is used for system, how come popmail use's 110?
In which case use a port redirection script, and an understanding server, running it application on the same socket number or a similar redirection script to revert the client redirection.
if you're using Unix: edit /etc/services if it's going to be a permanent thing.
http://unixhelp.ed.ac.uk/CGI/man-cgi?services+5
Yep has been so since 1971 Probably because it is setuid 0.
http://www.cs.unc.edu/~dewan/242/f97/notes/prot/node12.html