Subject | Re: [firebird-support] Can't connect to Firebird server via Zebedee |
---|---|
Author | John vd Waeter |
Post date | 2009-12-10T15:50:17Z |
Just a quick guess:
Is the server behind a firewall? and thus maybe not accepting incoming
connections to port 11965?
John
Mr. John wrote:
John vd Waeter
www.jvdw.nl
www.gps-carpool.net
www.shotinthedark.nl
www.pdaforms.nl
www.dbapocket.nl
john@...
Is the server behind a firewall? and thus maybe not accepting incoming
connections to port 11965?
John
Mr. John wrote:
> Alexandre THANKS A LOT for your time and your answer--
>
> This is server log :
> zebedee(2140/3480): line 3: server true # Server Mode
> zebedee(2140/3480): key = 'server', value = 'true'
> zebedee(2140/3480): line 4: detached true # Free from console
> zebedee(2140/3480): key = 'detached', value = 'true'
> zebedee(2140/3480): line 5: udpmode false # we don’t need UDP
> zebedee(2140/3480): key = 'udpmode', value = 'false'
> zebedee(2140/3480): line 6: keygenlevel 2 # Key level
> zebedee(2140/3480): key = 'keygenlevel', value = '2'
> zebedee(2140/3480): line 7:
> zebedee(2140/3480): line 8: redirect none # Close all redirection ports
> zebedee(2140/3480): key = 'redirect', value = 'none'
> zebedee(2140/3480): line 9:
> zebedee(2140/3480): line 10: # Allows Firebird connections
> zebedee(2140/3480): line 11: redirect 3050 # Firebird default port
> zebedee(2140/3480): key = 'redirect', value = '3050'
> zebedee(2140/3480): line 12: targethost localhost # target is not on the same machine
> zebedee(2140/3480): key = 'targethost', value = 'localhost'
> zebedee(2140/3480): line 13:
> zebedee(2140/3480): line 14: # Some other parameters
> zebedee(2140/3480): line 15: compression zlib:9 # maximum zlib compression
> zebedee(2140/3480): key = 'compression', value = 'zlib:9'
> zebedee(2140/3480): line 16: keylength 576 # 576 bits keys
> zebedee(2140/3480): key = 'keylength', value = '576'
> zebedee(2140/3480): line 17: keylifetime 3600 # shared keys last for 1 hour
> zebedee(2140/3480): key = 'keylifetime', value = '3600'
> zebedee(2140/3480): line 18: maxbufsize 16383 # Maximum buffer length
> zebedee(2140/3480): key = 'maxbufsize', value = '16383'
> zebedee(2140/3480): listening on 0.0.0.0
> zebedee(2140/3480): detaching from terminal
> zebedee(2140/3480): waiting for connection on port 11965
>
>
> This is client log :
>
> zebedee(704/4016): line 4: server false # Server Mode
> zebedee(704/4016): key = 'server', value = 'false'
> zebedee(704/4016): line 5: detached true # Free from console
> zebedee(704/4016): key = 'detached', value = 'true'
> zebedee(704/4016): line 6: udpmode false # we don’t need UDP
> zebedee(704/4016): key = 'udpmode', value = 'false'
> zebedee(704/4016): line 7: keygenlevel 2 # Key level
> zebedee(704/4016): key = 'keygenlevel', value = '2'
> zebedee(704/4016): line 8: tunnel 3051:92.81.253.168:3050
> zebedee(704/4016): key = 'tunnel', value = '3051:92.81.253.168:3050'
> zebedee(704/4016): client listener routine entered
> zebedee(704/4016): creating TCP-mode local listener socket for port 3051
> zebedee(704/4016): listening on 0.0.0.0
> zebedee(704/4016): local port 3051 has socket 100
> zebedee(704/4016): Listening on local port 3051
> zebedee(704/4016): detaching from terminal
> zebedee(704/4016): waiting for client connection
> zebedee(704/4016): select returned 1
> zebedee(704/4016): connection ready on socket 100
> zebedee(704/4016): accepted connection from 127.0.0.1
> zebedee(704/4016): spawning handler function thread
> zebedee(704/4016): handler thread created
> zebedee(704/4016): waiting for client connection
> zebedee(704/2376): client routine entered
> zebedee(704/2376): client on local port 3051 tunnels to target 92.81.253.168:3050
> zebedee(704/2376): target address is 5c51fda7
> zebedee(704/2376): making connection to 92.81.253.168:11965
> zebedee(704/2376): ERROR: can't connect to 92.81.253.168 port 11965
> zebedee(704/4016): select returned 1
> zebedee(704/4016): connection ready on socket 100
> zebedee(704/4016): accepted connection from 127.0.0.1
> zebedee(704/4016): spawning handler function thread
> zebedee(704/4016): handler thread created
> zebedee(704/4016): waiting for client connection
> zebedee(704/3756): client routine entered
> zebedee(704/3756): client on local port 3051 tunnels to target 92.81.253.168:3050
> zebedee(704/3756): target address is 5c51fda7
> zebedee(704/3756): making connection to 92.81.253.168:11965
> zebedee(704/3756): ERROR: can't connect to 92.81.253.168 port 11965
>
>
> As I can understand there is a problem with port 11965 .
>
> Thanks.
>
>
>
>
>
>
>
> ________________________________
> From: Alexandre Benson Smith <iblist@...>
> To: firebird-support@yahoogroups.com
> Sent: Sat, November 28, 2009 9:56:58 PM
> Subject: Re: [firebird-support] Can't connect to Firebird server via Zebedee
>
>
> Mr. John wrote:
>> Hi !
>> I try to connect to firebird database over internet using zebedee
>> server side : firebird 2.5
>> router port fwd for 3050 to3050 ,3051 to 3051 11965 to 11965 for any (tcp and udp)
>> firewall turned off
>> zebedee proces was started with
>> Zebedee –s localhost:3050 (process is running)
>>
>> client side : firewall turned off
>> zebedee proces was started with
>>
>> Zebedee 3051:<server IP>:3050 (process is running)
>> server ip got from whatismyip.com
>>
>> Using IbeExpert manager connection works for direct connect
>> <server IP>/3050 but via zebedee localhost/3051 not
>> Thanks for any suggestion
>>
>
> Turn ZeBeDee log to the most verbose option (verbosity 9).
>
> Try to connect again
> Post the log result here so we can analyze it.
>
> Example of Client ZBD config file:
> verbosity 2 # Message type
> logfile 'c:\zebedee_ firebird. log' # I love log files
> server false # Server Mode
> detached true # Free from console
> udpmode false # we don’t need UDP
> keygenlevel 2 # Key level
> tunnel 3051:SERVER_ IP:3050
>
> Example of Server ZBD config file:
> verbosity 2 # Message type
> logfile 'c:\firebird. log' # I love log files
> server true # Server Mode
> detached true # Free from console
> udpmode false # we don’t need UDP
> keygenlevel 2 # Key level
>
> redirect none # Close all redirection ports
>
> # Allows Firebird connections
> redirect 3050 # Firebird default port
> targethost LOCAL_IP_ADDRESS_ OF_FB_SERVER # target is not on the same machine
>
> # Some other parameters
> compression zlib:9 # maximum zlib compression
> keylength 576 # 576 bits keys
> keylifetime 3600 # shared keys last for 1 hour
> maxbufsize 16383 # Maximum buffer length
>
> see you !
>
John vd Waeter
www.jvdw.nl
www.gps-carpool.net
www.shotinthedark.nl
www.pdaforms.nl
www.dbapocket.nl
john@...