LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-14-2009, 06:27 AM   #1
Karimo
Member
 
Registered: Aug 2007
Location: Valencia
Distribution: slackware64-current
Posts: 67

Rep: Reputation: 15
Ktorrent doesn't open correct ports


Hi everybody!
I've noticed a very strange happening.
I've specified to Ktorrent this ports: 5831 TCP (Bittorrent), 5831 UDP (DHT), 4444 UDP (Tracker). All these correctly forwarded by the router.
The really strange thing is that Ktorrent doesn't open the specified DHT port:
Code:
karimo@station:~$ netstat -lunpt|grep ktorrent
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 0.0.0.0:5831            0.0.0.0:*               LISTEN      9623/ktorrent
udp     9492      0 0.0.0.0:56728           0.0.0.0:*                           9623/ktorrent
karimo@station:~$
But if I specify to bind exclusively to the main interface (in my case eth1):
Code:
karimo@station:~$ netstat -lunpt|grep ktorrent
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 192.168.1.34:5831       0.0.0.0:*               LISTEN      9696/ktorrent
udp        0      0 192.168.1.34:5831       0.0.0.0:*                           9696/ktorrent
karimo@station:~$
Everything is correctly binded.
Obviously I've thought about a conflicting udp port, so I've tried with many random ports, but never the binded port was the same of the specified one. On the other side, specifing to bind on the eth1, everything goes well.
Another thing that is not very clear: why the "UDP Tracker Port" (4444) is not even binded? Although is correctly specified and forwarded by the router.
Thanks in advance,

Karimo
 
Old 06-14-2009, 07:25 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Hi Karimo,
Does this help?
http://en.wikipedia.org/wiki/List_of...P_port_numbers
cheers,
jdk
 
Old 06-14-2009, 08:42 AM   #3
Karimo
Member
 
Registered: Aug 2007
Location: Valencia
Distribution: slackware64-current
Posts: 67

Original Poster
Rep: Reputation: 15
No, sorry, it doesn't help because I've tried with different random ports with the same results. And on my box it's not running any server except of nameserver and ssh.
 
  


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
Need to block all ports and open only select ports on Ubuntu 7.1 Mr.J Linux - Networking 1 11-18-2008 02:45 AM
open ports for utorrent using iptables n close smpt to that ports shtorrent00 Linux - Networking 2 09-30-2008 03:34 PM
Problem opening ports - ports appear open, but do not work. computer_freak_8 Linux - Software 10 09-20-2008 09:39 PM
Cannot Open Mail Server Ports 25, 110, and 220. Other Ports will open. Binxter Linux - Newbie 9 11-29-2007 02:03 AM
correct ports for samba? skippuff54 Linux - Networking 2 08-02-2004 08:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:23 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