>From: Bob <bob_j_hayes at ...>
>Subject: Re: No inbound connections - can't see specified port listening?
>Newsgroups: gmane.network.freenet.support
>Date: 2006-01-11 01:02:35 GMT (1 hour and 26 minutes ago)
>
> <bryces <at> ...> writes:
>-- big snip --
>>   But I don't get incoming connections?  Netstat doesn't show anything 
>> listening on port 443.  Is this normal for freenet?
>> 
>
>No. It sounds like freenet is failing to bind the listenport, probably because
>it's already in use, or manages to do so but then crashes during startup (can
>happen e.g. with buggy JVMs or big datastores and the default heap size.) Even
>with no connections at all freenet should "work" in that you should be able to
>open the Web Interface page (right-click the system tray bunny.) If you can't
>even do that a full 10 mins after starting it then one of the above has 
>>happened.
>
>What does the end of freenet.log say? IIRC you can access this via the system
>tray bunny, or just find it in the main program directory. Random crashes
>probably indicate that your datastore is huge and the heap size needs
>increasing, or that you have a buggy Java version (not very likely, anything
>1.4.2+ should be OK.)
>
>Bob
>

Hi,

My freenet does run - I get outbound connections fine.  I no longer get inbound
connections however.  Nothing on this machine indicates that the listen port is
already bound - netstat not showing it anyway, and as far as I know there is no
other software running that is listening to the internet connection (a scan of
this machine from another does not show anything on port 443).

I ran freenet for about 12 hours back on dial-up connection and get inbound
connections fine - although it appears freenet is listening on port 64620 and
not 443 as requested in .ini file from what I can make of output below.

'Netstat -anb' output is:
  TCP    0.0.0.0:8481           0.0.0.0:0              LISTENING       3004
  [javaw.exe]
  TCP    0.0.0.0:8888           0.0.0.0:0              LISTENING       3004
  [javaw.exe]
  TCP    0.0.0.0:8891           0.0.0.0:0              LISTENING       3004
  [javaw.exe]
  TCP    0.0.0.0:64620          0.0.0.0:0              LISTENING       3004
  [javaw.exe]



Start of freenet.log has following if it gives clues to anyone:

11/01/2006 22:58:54 (freenet.node.Main, main, NORMAL): Starting Freenet (Fred)
0.5 node, build #5106 on JVM Sun Microsystems Inc.:Java HotSpot(TM) Client
VM:1.5.0_01-b08
os.arch = x86
Loading native...
Attempting to load freenet/support/CPUInformation/jcpuid-x86-windows.dll
Written to H:\TEMP\jcpuid26520lib.tmp: 40960
INFO: Native CPUID library
'freenet/support/CPUInformation/jcpuid-x86-windows.dll' loaded from resource
INFO: Optimized native BigInteger library
'net/i2p/util/jbigi-windows-pentium3.dll' loaded from resource
11/01/2006 22:58:58 (freenet.node.Main, main, NORMAL): loading node keys: node
11/01/2006 22:58:58 (freenet.node.Main, main, NORMAL): Read node file
11/01/2006 22:58:59 (freenet.node.Main, main, NORMAL): starting filesystem
11/01/2006 22:59:19 (freenet.node.Main, main, NORMAL): loading data store
11/01/2006 22:59:19 (freenet.node.Main, main, NORMAL): loading routing table
11/01/2006 22:59:21 (freenet.node.Main, main, NORMAL): From output: 49152.0
11/01/2006 22:59:21 (freenet.node.Main, main, NORMAL): Setting default
initTransferRate to 49152.0
11/01/2006 22:59:29 (freenet.node.rt.NGRoutingTable, main, ERROR): Caught
java.io.IOException: Value out of range: 3600000.0000000005 deserializing a
NodeEstimator for DataObjectRoutingMemory:tcp/<ip-address>:47115, sessions=1,
presentations=3, ID=DSA(8010 28b9 634c 7110 b73d  fd81 ffc5 e3dc e4ae 60cb),
version=Fred,0.5,STABLE-1.51,5106:801028b9634c7110b73dfd81ffc5e3dce4ae60cb
java.io.IOException: Value out of range: 3600000.0000000005
        at
freenet.node.rt.BootstrappingDecayingRunningAverage.<init>(BootstrappingDecayingRunningAverage.java:167)
        at
freenet.node.rt.BootstrappingDecayingRunningAverageFactory.create(BootstrappingDecayingRunningAverageFactory.java:36)
        at 
freenet.node.rt.StandardNodeEstimator.<init>(StandardNodeEstimator.java:525)
        at
freenet.node.rt.StandardNodeEstimatorFactory.create(StandardNodeEstimatorFactory.java:95)
        at 
freenet.node.rt.NGRoutingTable.loadEstimators(NGRoutingTable.java:350)
        at freenet.node.rt.NGRoutingTable.<init>(NGRoutingTable.java:315)
        at freenet.node.Main.main(Main.java:785)
11/01/2006 22:59:31 (freenet.node.Main, main, NORMAL): Created new NGRT
11/01/2006 22:59:32 (freenet.node.Main, main, NORMAL): Loaded stats
11/01/2006 22:59:32 (freenet.node.Main, main, NORMAL): loading temp bucket 
factory
11/01/2006 22:59:32 (freenet.node.Main, main, NORMAL): loaded temp bucket 
factory
11/01/2006 22:59:32 (freenet.node.Main, main, NORMAL): Loaded bucket factory
11/01/2006 22:59:32 (freenet.node.Main, main, NORMAL): not seeding routing table
11/01/2006 22:59:34 (freenet.node.Main, main, NORMAL): starting node
11/01/2006 22:59:34 (freenet.node.Main, main, NORMAL): loading service: mainport
11/01/2006 22:59:35 (freenet.node.Main, main, NORMAL): loading service: 
distribution
11/01/2006 22:59:35 (freenet.interfaces.servlet.SingleHttpServletContainer,
main, NORMAL): Loading the single servlet distribution.params.servlet
11/01/2006 22:59:35 (freenet.node.Node, main, NORMAL): Starting ticker..
11/01/2006 22:59:35 (freenet.node.Node, main, NORMAL): Starting interfaces..
11/01/2006 22:59:35 (freenet.node.http.BookmarkManagerServlet, main, NORMAL):
Bookmarks updated on request
11/01/2006 22:59:36 (freenet.node.Node, main, NORMAL): starting ListenSelector..

freenet.ini has:
# The port to listen for incoming FNP (Freenet Node Protocol) connections on.
listenPort=443


oh - and my datastore is only 1.6Gb (and not filled up yet).

Just now I see mention by HTH about priviliged user unable to bind port - I was
running as administrator so should not be an issue (I will now also look into
not running with this privilege once I sort out port issue).

Open to suggestions please.

Regards,
  Bryce S.

Reply via email to