Ports to use

Asked by StashDiva

ok probably not a new question but I am new to Linux, I cant get an active connection, isn't there a upnp option or some guide how to set this up I have not found and idiots guide to setting this up. I am use to use DC++ for windows :(

Question information

Language:
English Edit question
Status:
Answered
For:
LinuxDC++ Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Abe Froeman (abe-froeman) said :
#1

When using linuxdcpp, when you set it to use active mode (on a specific port) and it looks all set up, go to the command line and run:
`sudo netstat -tulpn`

If the port you are trying to use for DC shows up there, as being used by linuxdcpp, then that part is good. If your OS is using a firewall software, you need to also tell that software to allow this specific port for incoming connections. And then if you have a router or cable modem that has its own firewall towards the internet, you have to use Port Forwarding to tell it to forward that specific port from your internet facing IP address to your PC's internal network IP address.

You can use any port (above port 1024), as long as it is not in use by something else anywhere along that chain of things heading towards the internet. For ports under 1024, you need to run the linuxdcpp software as a root user for it to be able to acquire use of that port, and running software that faces the internet as the root user is very not recommended.

Good luck.

Can you help with this problem?

Provide an answer of your own, or ask StashDiva for more information if necessary.

To post a message you must log in.