PtokaX forum

PtokaX => Support => Topic started by: Bhoot on 19 April, 2010, 01:11:20

Title: PtokaX refuses connection..
Post by: Bhoot on 19 April, 2010, 01:11:20
I am developing a DC++ client as my summer project. I will use jdcbot framework for that. For setup purposes, I compiled and ran a PtokaX hub on my machine. Then, from the same machine, I tried to connect to that Ptokax hub through ApexDC++. But it gives the error of "Connection closed : Connection refused". I had my openSUSE firewall uninstalled. Still, I get the same error. The settings of the hub include simply the hub name and the hub address.
Could anyone provide me with some solution?
Title: Re: PtokaX refuses connection..
Post by: PPK on 19 April, 2010, 04:56:52
If you are connecting to 127.0.0.1 (address without port) and you don't started PtokaX as root then it failed with connection refused because only root can run software on ports 1 - 1024 (when you don't specify port in address then default port 411 is used). Try connect to 127.0.0.1:1209 ;) In case when that failed too then is possibly that PtokaX start for some rerason failed and then reason should be in log in logs directory.
Title: Re: PtokaX refuses connection..
Post by: Bhoot on 19 April, 2010, 20:23:45
Quote from: PPK on 19 April, 2010, 04:56:52
If you are connecting to 127.0.0.1 (address without port) and you don't started PtokaX as root then it failed with connection refused because only root can run software on ports 1 - 1024 (when you don't specify port in address then default port 411 is used). Try connect to 127.0.0.1:1209 ;) In case when that failed too then is possibly that PtokaX start for some rerason failed and then reason should be in log in logs directory.

Thank you so much..I was not running PtokaX as root. The port was 411 - I was aware of the default port, but not of the fact that 1-1024 ports are meant for root.
I got it running :)
I really appreciate your help. Saved my time :)