[freenet-support] Newbie question: Connection refused

2002-09-09 Thread Clisson Pierre

Hello,

I just installed freenet on my linux box (debian). I didn't used the .deb
package but the last tarball. I think everything is ok (no error message at
startup), but I have this message when connecting to 127.0.0.1: using
Mozilla : The connection was refused when attempting to contact
127.0.0.1:8890. I can't get what is wrong in my config file (generated by
debconf in a previous install). Is there somebody to help me ?

Thanks a lot.

Pierre

Here are my config and log files :

-- freenet.conf --

[Freenet node]
# Freenet configuration file

# The size of each store file in bytes, the bigger the better, for you
# and for Freenet. Defaults to a conservative 100 MiB.
# Note that the total store size is storeSize times the number of
# files used (default is one file).
storeSize=20971520

# If you have a static IP address, and your node is up most of the time,
# please set this to false and fill out ipAddress, below.
transient=true

# your IP address, as seen from the Internet -- not relevant if transient
# is true
ipAddress=

# whether to announce this node to others (transient nodes will never
announce)
doAnnounce=true

# what to launch automatically, delimited by commas
# currently supported services: fproxy, nodestatus, nodeinfo
services=fproxy

# port for inter-node communication (FNP)
# Any fixed port will do
listenPort=38663

# where to listen for clients talking FCP
clientPort=8481

# a file containing node references for bootstrapping
seedFile=/home/moi/freenet/bin/seednodes.ref

# a comma-seperated list of files holding freenet's store
storeFile=/home/moi/freenet/bin/store

nodeFile=/home/moi/freenet/bin/node

# When forwarding a request, the node will reduce the HTL to this value
# if it is found to be in excess.
maxHopsToLive=25

# store is encrypted using this algorithm; options include Twofish,
Rijandael
storeCipherName=Twofish

# The width in bits of the cipher key to use for the datastore.
# The allowed values for this will depend on the cipher algorithm.
# Twofish allows 64, 128, 192, or 256, while Rijndael allows
# 128, 192, or 256.
storeCipherWidth=128

# whether to log inbound and/or outbound contact attempts for viewing in
# the nodestatus servelet (which you have to enable in the services
setting)
logInboundContacts=false
logOutboundContacts=false

# whether to log how many requests were sent over a connection
logInboundRequests=false
logOutboundRequests=false

# The diagnostics module receives and aggregates statistics about
# Freenet's performance.  This will eat some gratuitous memory and
# CPU time but may let you provide valuable data to the project.
doDiagnostics=true

# The directory in which to save diagnostics data.
diagnosticsPath=/home/moi/freenet/bin/stats

# The number of references allowed per node in the routing table.
# This should not be set too high.
rtMaxRefs=1000

# The number of unique nodes that can be contained in the routing table.
rtMaxNodes=100

# The number of outstanding message replies the node will
# wait for before it starts to abandon them.
messageStoreSize=500

# The time to wait for connections to be established and
# authenticated before passing by a node while routing out.
# Connections that are by passed are still finished and cached
# for the time set by connectionTimeout (in milliseconds).
routeConnectTimeout=1

# maximum bandwidth (Bps) -- currently per *connection* so rather useless
bandwidthLimit=0
inputBandwidthLimit=0
outputBandwidthLimit=0

maxNodeConnections=30

# log verbosity, possible values: error, normal, minor, debug
logLevel=normal

# location of the log
logFile=/home/moi/freenet/bin/freenet.log

logFormat=d (c, t): m
announcementPeers=10
announcementAttempts=10
announcementDelay=1800
announcementDelayBase=2
initialRequests=10
initialRequestHTL=15
authTimeout=3
connectionTimeout=18
hopTimeExpected=12000
hopTimeDeviation=12000
maximumThreads=120
blockSize=4096
streamBufferSize=65536
maximumPadding=65536

### fproxy
fproxy.class=freenet.client.http.FproxyServlet

# http requests aceepted on this port
fproxy.port=

# default HTLs
fproxy.params.insertHtl=5
fproxy.params.requestHtl=15

# whether the fproxy anonymity filter is enabled
fproxy.params.filter=true

# MIME types that cannot phone home and are considered anonymity-safe
fproxy.params.passThroughMimeTypes=text/plain,image/jpeg,image/gif,image/png

# Maximum number of threads per SplitFile request.
fproxy.params.splitFileThreads=5

# Number of times to retry failed SplitFile block requests.
fproxy.params.splitFileRetries=0

# Amount to increment SplitFile request htl each retry.
fproxy.params.splitFileRetryHtlIncrement=5

# Set true to allow polling for dropped requests during SplitFile download.
fproxy.params.pollForDroppedConnection=true

### nodestatus
nodestatus.class=freenet.client.http.NodeStatusServlet

# http requests accepted on this port
nodestatus.port=8889

### nodeinfo

Re: [freenet-support] Newbie question: Connection refused

2002-09-09 Thread Greg Wooledge

Clisson Pierre ([EMAIL PROTECTED]) wrote:

 Mozilla : The connection was refused when attempting to contact
 127.0.0.1:8890.

 # what to launch automatically, delimited by commas
 # currently supported services: fproxy, nodestatus, nodeinfo
 services=fproxy

You need to change that line to services=fproxy,nodestatus,nodeinfo.
This will allow you to connect to ports 8889 and 8890 for extra
information about your node.  (And as of build 500 or so, the ability
to connect to port 8890 is now required in order to read the gateway
page.)

You appear to have all of the other essential lines.

-- 
Greg Wooledge  |   Truth belongs to everybody.
[EMAIL PROTECTED]  |- The Red Hot Chili Peppers
http://wooledge.org/~greg/ |



msg01104/pgp0.pgp
Description: PGP signature