← Back to team overview

linuxdcpp-contributors team mailing list archive

Re: [Question #259129]: Ports to use

 

Question #259129 on LinuxDC++ changed:
https://answers.launchpad.net/linuxdcpp/+question/259129

    Status: Open => Answered

Abe Froeman proposed the following answer:
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.

-- 
You received this question notification because you are a member of
LinuxDC++ Contributors, which is an answer contact for LinuxDC++.