I'm not quite sure what your question means.
In my above example there are two TCP connections:
Code:
port ?? port 1234
program --------------> ssh
port ?? port 9876
ssh --------------> server-sshd
The two ports on the sending ends are dynamically selected by the system when the socket is created.
If all you meant "what port does VLC use", according to skimming the docs, it's user configurable. If you don't know, just have the server running, and try this command to list connections:
Code:
netstat --ip --listening
It should be in the list.
SSH can be detected with the same command. From the client end, just don't use "--listening".
Hope this helps.
Bookmarks