Jump to content
Comet Forums

DHT issues - this is tiring


Recommended Posts

so i just got bitcomet because i was having issues with azureus. here's the situation. i installed bitcomet just fine. no problems. when i get a .torrent loaded up, it says connecting but does nothing because the bottom reads "dht not connected". i did some reading and tried the "preferences>advanced>connection>enable DHT network" trick. but that didn't resolve the issue. i am living in a hotel on base with free wireless interent access. could that be the problem causing my dht not to connect? i've enabled full access through my mcafee firewall. i'm lost. any ideas?

Link to post
Share on other sites

The router for that hotel is likely blocking all p2p traffic or at least your connection to the tracker.

Using a proxy server just for tracker communications might get you going.

http://www.publicproxyservers.com/

But you should check up on the Terms of Service for that wifi connection, cause if your on a military base then i doubt you want to get in trouble.

Death by firing squad if you download that latest movie. :P jk, but seriously check the TOS

Link to post
Share on other sites

I'm having the same prob, I think.. When I was installing Bitcomet, my norton antivirus warned me for a few things and that I had to gave permission to some high alert things. So I thought it was dangerous and clicked it away.. But now my DHT is not connected anymore! I can't find a way to get it going. I don't understand what proxy is, do I have to pay for it? Is there no other way to fix Bitcomet? I already uninstalled it and installed it again, but it didn't work.. Can somebody help me, please? My internet connection adsl is very good, so it can't be that.

Link to post
Share on other sites

I also am getting the DHT not connected message.

I'm running a Vaio P4 with WinXP (SP2), and either IE6 or Opera9 (and, no, the bittorrenting built into Opera 9 is not working on my system) through Comcast Internet using the Motorola SBG900 cablemodem - which is hard-connected to my desktop machine. I'm not using my laptop for torrenting.

I've set up a Port Forwarding to port 32459 (allowing TCP through my firewall, should I choose UDP/TCP or IP instead?) and the port forwarding tests all say that the port is working. I've chosen to not use a static IP as this ALWAYS causes my internet connections to shut down! I have Sygate Personal Firewall on my system and I've enabled BitComet and Opera to have complete access to all ports. Still no success. Also, I've tried just shutting down Sygate - again, no success.

When I tried under uTorrent and Azureus, I kept getting 'Unable to map uPnP...' messages. What in Sam h*** am I doing wrong!

Derek

Link to post
Share on other sites

DHT uses UDP packets

Norton worm control will block the DHT Network so you have to add an exception rule for Bitcomet if your Norton has worm control.

Some other antivirus/firewall packages have something similar, maybe called antihacker or p2p shield or whatever that you need to add an exception rule for Bitcomet for it to work right.

If you have a router then you need to forward Bitcomet's port for both TCP and UDP.

Also check your router for anything that may globally affect UDP connections

In some DLINK routers this is called "Gaming Mode" and it should be enabled

In some 2WIRE routers this is called "Strict UDP sessions" and it should be disabled

Other routers may have some similar global rule that affects all UDP traffic so look around in your router if you've made a UDP rule for Bitcomet's port yet the DHT Network still wont connect.

But make sure you know what your doing, if you have doubts then ask here before messing around with settings in your router.

Using a proxy server is only necessary if your ISP blocks your connections to trackers.

Also you can try setting your port to one in this range 49154 - 65534 and then make forwarding rules for the port you choose.

These are supposed to be private ports. Although ISPs like AT&T dont seem to be all that concerned about your privacy. :angry:

Link to post
Share on other sites

I also am getting the DHT not connected message.

I'm running a Vaio P4 with WinXP (SP2), and either IE6 or Opera9 (and, no, the bittorrenting built into Opera 9 is not working on my system) through Comcast Internet using the Motorola SBG900 cablemodem - which is hard-connected to my desktop machine. I'm not using my laptop for torrenting.

I've set up a Port Forwarding to port 32459 (allowing TCP through my firewall, should I choose UDP/TCP or IP instead?) and the port forwarding tests all say that the port is working. I've chosen to not use a static IP as this ALWAYS causes my internet connections to shut down! I have Sygate Personal Firewall on my system and I've enabled BitComet and Opera to have complete access to all ports. Still no success. Also, I've tried just shutting down Sygate - again, no success.

When I tried under uTorrent and Azureus, I kept getting 'Unable to map uPnP...' messages. What in Sam h*** am I doing wrong!

Derek

You need to use a static ip address for port forwarding to work (at least on my linksys you do). Your internet probably goes out because you have other computers that connect to that router and they don't have a static ip addresses. So give all the other computers that connect to that router a static ip and port forward the port to the computer you want to run bitcomet on. This should work as far as forwarding the port(s).

Link to post
Share on other sites

I will add that since your static IP address cannot be enabled, and if you cannot set a static IP address, then one option is to check your ip address each time you reboot your computer, and if it has changed, enter the router setup and edit your port forwarding settings to match the current ip address.

This might be a pain to do, but once you have done it a few times, will be no big deal.

Also note, some ISPs charge extra to use static IP addresses, so you might want to inquire about this.

Suspect

Link to post
Share on other sites

The router for that hotel is likely blocking all p2p traffic or at least your connection to the tracker.

Using a proxy server just for tracker communications might get you going.

http://www.publicproxyservers.com/

But you should check up on the Terms of Service for that wifi connection, cause if your on a military base then i doubt you want to get in trouble.

Death by firing squad if you download that latest movie. :P jk, but seriously check the TOS

i figured it was something like that. stupid hotel. i'ma try the proxy server and see what happens. i'm not on a military base. thanks for lookin out though.

Link to post
Share on other sites

You need to use a static ip address for port forwarding to work (at least on my linksys you do). Your internet probably goes out because you have other computers that connect to that router and they don't have a static ip addresses. So give all the other computers that connect to that router a static ip and port forward the port to the computer you want to run bitcomet on. This should work as far as forwarding the port(s).

I'll have to set up a static IP even if all I do with the laptop is cruise to eBay? (That one's on WiFi, not a hard-wired connection) And what will this do for my PDAs? How do I get those to deal with a static IP?

And why is it that a friend of mine is happily running a dynamic IP connection with a desktop (direct-connected) and a laptop (WiFi) while using uTorrent/Azureus? She's got the same cablemodem I do and is running WinXP.

This is getting way too complicated.

Derek

Link to post
Share on other sites

I'll have to set up a static IP even if all I do with the laptop is cruise to eBay? (That one's on WiFi, not a hard-wired connection) And what will this do for my PDAs? How do I get those to deal with a static IP?

And why is it that a friend of mine is happily running a dynamic IP connection with a desktop (direct-connected) and a laptop (WiFi) while using uTorrent/Azureus? She's got the same cablemodem I do and is running WinXP.

This is getting way too complicated.

Derek

Yes, if the laptop is getting on at the same time that you have your computer on. I'm not so sure how you set up static ips on PDA's as I've never had one myself.

And I'm not sure why your friend isn't having problems if she has the same set up you have.

But I must ask ... you do know I'm talking about local addresses (addresses the router identifies your computers as) not the ip address your ISP gives you. Just asking because some ISP's make you pay extra for a static ip and I wouldn't want you wasting money on something that you don't need. ;)

Link to post
Share on other sites

If you only have a modem then you dont need to worry about static ips or portforwarding.

The way to confirm whether you have a modem is to do this, Im assuming your using XP

Open the command prompt;

Start -> Run -> type cmd and hit enter

now type ipconfig and hit enter

check the IP Address and the Default Gateway

if they are exactly the same then you just have a modem

If the last part of both of those two are different (example IP = *.*.*.2 and Gateway = *.*.*.1)

then you have a router.

If you do have a router then you need to forward Bitcomet's port to the IP address that is running Bitcomet.

And to make sure that forwarding rule works everytime you should set up the PC that is running Bitcomet with a static ip, although this isnt absolutely necessary.

If you cant figure out how to do the static ip then dont worry about it, although you may have to make a new rule if your computer IP Address changes as the Suspect said.

Also Suspect and genocide4530, we're talking about static LAN addresses not static WAN addresses. Your ISP shouldnt charge you for static LAN addresses because all they see is your WAN address.

Link to post
Share on other sites

Thanx.

Okay. I just ran ipconfig and I got the information:

IP address: xxx.yyy.0.10

and

Default gateway: xxx.yyy.0.1

So they're obviously different.

If I'm understanding you, I need to forward the port I've selected for BitComet (let's say I choose 32459) to the 'gateway' address???

And will this solve the 'DHT not connected' problem?

I can pretty much guarantee that I won't be doing much torrenting while the second computer (laptop on WiFi) is connected to the internet - and the same is true for the PDAs. So given the assumptions about how many computers are running during torrenting, do I absolutely *have* to set up a static IP???

Derek

If you only have a modem then you dont need to worry about static ips or portforwarding.

The way to confirm whether you have a modem is to do this, Im assuming your using XP

Open the command prompt;

Start -> Run -> type cmd and hit enter

now type ipconfig and hit enter

check the IP Address and the Default Gateway

if they are exactly the same then you just have a modem

If the last part of both of those two are different (example IP = *.*.*.2 and Gateway = *.*.*.1)

then you have a router.

If you do have a router then you need to forward Bitcomet's port to the IP address that is running Bitcomet.

And to make sure that forwarding rule works everytime you should set up the PC that is running Bitcomet with a static ip, although this isnt absolutely necessary.

If you cant figure out how to do the static ip then dont worry about it, although you may have to make a new rule if your computer IP Address changes as the Suspect said.

Also Suspect and genocide4530, we're talking about static LAN addresses not static WAN addresses. Your ISP shouldnt charge you for static LAN addresses because all they see is your WAN address.

Link to post
Share on other sites

As long as your router is connected to your pc, you will need to have the port forwarded correctly.

As I mentioned, when you reboot, your dynamic IP address may change, which will no longer be forwarded correctly in your router.

I also mentioned that you can enter your routers setup each time you reboot (only if you want to run torrents), and change the settings. Yes, this may seem like a pain, but will only take a minute or so, once you learn how and have done it several times.

Another option, since you said you will not be using the other computer while running torrents, is simply disconnect router, and plug your PC directly into your modem.

You will then have no need for port forwarding.

I will add that the best option is to get static IP address working, but you now have two other options to consider.

Suspect

Link to post
Share on other sites

If I'm understanding you, I need to forward the port I've selected for BitComet (let's say I choose 32459) to the 'gateway' address???

No, forward bitcomet's port to the IP Address of the PC that is running Bitcomet.

Also if it asks for a port range to enter; for your example it would be 32459 - 32459.

So given the assumptions about how many computers are running during torrenting, do I absolutely *have* to set up a static IP???

No you dont *have* to. But i would check in your router under the DHCP or whatever its called for your router and see if you can lengthen the time for IP Leases. See if you can set the IP Lease to like a week that way you could have a computer or PDA off for about a week without having to worry about it getting a new IP when it gets turned on. If you wait longer than a week though the device would have to negotiate a new IP from the router and then there is no gauratee that it will get the same IP Address that it had before.
Link to post
Share on other sites

:blink: <- That's me right now. I'm so confused. Sorry to be adding to the stress. Pretty much, I don't know what DHT actually is, but I do know that I can't download when it isn't connected. I've gone to preferences to make sure it has been allowed. It says it is, but I'm still getting nada. HEEELLLLPPPP

Oh, and let me go ahead and thank you for your patience. I'm not the most computer savy person.

Link to post
Share on other sites

Okay... I'll check out the DHCP thingie on my cablemodem/router/wifi. As I've stated numerous times, whatever I've done with the SBG900 (cablemodem/router/wifi) about portforwarding holds over the *numerous* times I've turned my computer on and off over the last few days. Of course, the cablemodem/router/wifi *never* gets turned off, as it needs to be up and running in order for either the laptop or the PDAs to have access to the Internet. I guess this means that my *dynamic* IP address never really changes, then, am I correct? I *do* know that on those few-and-far-between occasions when the power fails, I must wait for the cablemodem/router/wifi to re-establish with the ISP - and this can take some time.

No, forward bitcomet's port to the IP Address of the PC that is running Bitcomet.

Also if it asks for a port range to enter; for your example it would be 32459 - 32459.

No you dont *have* to. But i would check in your router under the DHCP or whatever its called for your router and see if you can lengthen the time for IP Leases. See if you can set the IP Lease to like a week that way you could have a computer or PDA off for about a week without having to worry about it getting a new IP when it gets turned on. If you wait longer than a week though the device would have to negotiate a new IP from the router and then there is no gauratee that it will get the same IP Address that it had before.

Link to post
Share on other sites

Tell me about it! :(

I've been trying to understand this process for quite some time. And I still don't have it down pat. I'm almost tempted to Usenet search for a good ebook on bit-torrenting just so I'd have an on-hand reference to study while attempting to get this to work. :angry:

If I get this all figured out, I'll post my results. Maybe that will help you.

Derek

:blink: <- That's me right now. I'm so confused. Sorry to be adding to the stress. Pretty much, I don't know what DHT actually is, but I do know that I can't download when it isn't connected. I've gone to preferences to make sure it has been allowed. It says it is, but I'm still getting nada. HEEELLLLPPPP

Oh, and let me go ahead and thank you for your patience. I'm not the most computer savy person.

Link to post
Share on other sites

Catapiller,

I suggest you start a new topic, and provide details about your system, like type of internet connection, if you are using a router etc...

to add your problem to this thread will only add to the confusion of others

Suspect

Link to post
Share on other sites

Tell me about it! :(

I've been trying to understand this process for quite some time. And I still don't have it down pat. I'm almost tempted to Usenet search for a good ebook on bit-torrenting just so I'd have an on-hand reference to study while attempting to get this to work. :angry:

If I get this all figured out, I'll post my results. Maybe that will help you.

Derek

Here is a good resource for bit torrent...

http://en.wikipedia.org/wiki/Bittorrent

there are links to anything you could possibly want to know.

Suspect

Link to post
Share on other sites

WEEEeeeeeeelllll...

I would plug my computer directly into my modem instead of my router EXCEPT my modem IS my router. The Motorola SBG900 is a combined WiFi/Cablemodem/Router device. And I therefore don't need to have a converter to change the cable broadband signal into an ethernet signal. Plus, this allows me to not have to tie up my phone line just to get internet services.

Now one thing is that when I turn off my computer at night, the cablemodem/router is not turned off. This means that the ISP does not see me going offline and back online every day. It also means that my desktop (which is hard connected from my ethernet port into the ethernet port on the cablemodem) does not have to be turned on in order that my laptop or PDAs may access the Internet.

Given that, may I presume that my dynamic IP address doesn't change unless I turn off the cablemodem/router? And therefore, does that not invalidate the 'changing' dynamic IP problem?

:huh:

Derek

As long as your router is connected to your pc, you will need to have the port forwarded correctly.

As I mentioned, when you reboot, your dynamic IP address may change, which will no longer be forwarded correctly in your router.

I also mentioned that you can enter your routers setup each time you reboot (only if you want to run torrents), and change the settings. Yes, this may seem like a pain, but will only take a minute or so, once you learn how and have done it several times.

Another option, since you said you will not be using the other computer while running torrents, is simply disconnect router, and plug your PC directly into your modem.

You will then have no need for port forwarding.

I will add that the best option is to get static IP address working, but you now have two other options to consider.

Suspect

Link to post
Share on other sites

Say???

A side issue... I've found several torrents which contain files I seek, yet which also have a huge number of other files I don't need and don't want. However, these supertorrents are the only ones I've found with the particular files. Now I see that BitComet and Azureus allow me to specify which files I wish to include in the actual download - and that's great for a one-time thing. But I was wondering if there is an app which will allow me to download the torrent file and the create a new torrent which just contains the files I want, save that modified torrent and then use the modified torrent to do the actual downloads?

Derek

:blink:

Here is a good resource for bit torrent...

http://en.wikipedia.org/wiki/Bittorrent

there are links to anything you could possibly want to know.

Suspect

Link to post
Share on other sites

This would only be possible if you create a new torrent, and seed it yourself.

Although it would be possible to create a program that starts that torrent with the options to only select the files you want, but writing this program would require much more work then manually selecting the files, and the program would only apply to the client it was designed for.

I can't imagine a reason to do this personally.

Suspect

Link to post
Share on other sites

I think this desire came from the frustration I've had over the last few days with trying to get the various bittorrent clients to work. As I've switched from uTorrent to BitComet to Shareaza to Azureus to Opera 9, I've had to re-load the torrent(s) in question. And that meant, since I didn't want to include all 2,000 files in question in the main torrent I'm interested in, having to go through and re-select the files (about 40) 20-25 times in two days and you might get as frustrated as I did.

However, I believe, once I've got whichever bittorrent client I settle on working, I'll probably not have to do this ever again. So I can see where this will become a non-issue.

B)

Derek

This would only be possible if you create a new torrent, and seed it yourself.

Although it would be possible to create a program that starts that torrent with the options to only select the files you want, but writing this program would require much more work then manually selecting the files, and the program would only apply to the client it was designed for.

I can't imagine a reason to do this personally.

Suspect

Link to post
Share on other sites

It's WORKING!!!

:D

Okay,

I reset my Port Forwarding to port 52001. And then I waited for it to work through the process...

Here's what the statistics said on my stats panels

BitComet summary:

Torrent: Torrents\Handbook of the Navigator.pdf.torrent

Save location: D:\UseNet Downloads\Torrents\Handbook of the Navigator.pdf

Infohash: 743a64425b6adeac2ba937638276d7c63b631e20

Piece size: 256 KB

Total files size: 1.07 MB [0.0%]

Sel. files size: 1.07 MB

Comments:

Tracker: http://tracker.prq.to/announce

Tracker Status: Tracker Response OK, reannounce in 600 s

Progress: 0.0%

Remaining: 1.07 MB

Connected seeds: 0 (Max Possible: 0)

Connected peers: 16 (Max Possible: 24)

Connecting peers: 0

Download rate: 0 KB/s From 1 Peers

Upload rate: 0 KB/s To 1 Peers

Downloaded: 7.62 KB (0 B rubbish data dropped)

Uploaded: 7.31 KB

Total Downloaded: 7.62 KB (0 B rubbish data dropped)

Total Uploaded: 7.31 KB

Avg D/L Rate: 0 KB/s within 00:14:50

Avg U/L Rate: 0 KB/s within 00:14:50

BitComet logs:

Default tracker optimization rules file loaded.

IP rules file: ipfilter.dat loaded, 0 entries.

Start Listening at TCP Port:32461

Start Listening at UDP Port:32461

BitComet 0.68 is running on:

CPU : IntelĀ® PentiumĀ® 4 CPU 2.66GHz 2679 MHz

RAM size : 1,015.52 MB

OS Version: Microsoft Windows XP Home Edition Service Pack 2 (Build 2600)

Windows XP WF Status: TCP Port is opened in Windows Firewall.

Windows XP WF Status: UDP Port is opened in Windows Firewall.

Update Local IP: 192.168.0.10

Windows XP ICS Status: cannot find working ICS.

Windows XP UPnP Status: device not found!

Stop Listening at Port:32461

Start Listening at TCP Port:52001

Start Listening at UDP Port:52001

BitComet statistics:

Overall Infos: Torrents: 1 | Peers: 2 | Sockets: 2 (HTTP: 0)

TCP Connections: Established: 2 | Half-Open: 0 | Waiting: 0

LAN IP: 192.168.0.10 / WAN IP: 0.0.0.0

Overall Download Rate: 0 KB/s Connection Limits: 30 - 60 per task

Overall Upload Rate: 0 KB/s Upload slots: 3 - 5

Disk Cache Size: 0 B (Min: 6 MB, Max: 50 MB)

Free Phys Mem: 565.16 MB (Min: 50 MB)

Disk Read Statistics: Request: 0 (freq: 0.0/s), Actual Disk Read: 0 (freq: 0.0/s), Hit Ratio: 0.0%

Disk Write Statistics: Request: 0 (freq: 0.0/s), Actual Disk Write: 0 (freq: 0.0/s), Hit Ratio: 0.0%

Total Downloaded: 33.86 KB

Total Uploaded: 30.66 KB

BitComet Statusbar message:

DHT not connected

Okay. So maybe switching to Kerio's Personal Firewall and changing my forwarding port to above 45000 helped. B)

I'm happy.

And I'm using dynamic IP!

Once this small torrent has finished downloading, I'll try my larger one.

Thanks to everyone who gave me advice!

Derek

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...