|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Dear Seniors,
My internet line ip address is 13.56.98.184. This line is connected to my router. My switch is linked to my router by a network cable. My WinXP Pro. Serv. 2.0 pc is linked to my switch by a network cable. My pc ip address is 10.1.1.18. I have done port fowarding in my router at port 1888. So, in order to access to my computer through remote admin, hamachi or VnC, i will use 13.56.98.184:1888. Recently, I have install FireBird Server 2.0 into my pc. I write a java application connect to my FireBird Server by using FBWrappingDataSource and the connection string is "10.1.1.18/3050:d:\abc.fdb". It works perfectly in my pc and my local area networked pc(s). The problem comes when I move my java application to other place which has another pc with internet line, it said "could not obtain connection during blocking timeout (5000 ms)". Would anyone so kind to tell me how is the new connection string look like in order to works with the firebird server that inside my company's pc? Thank you very much in advance ![]() |
|
#2
|
|||
|
|||
|
As you are behind a router, the public internet does not see your internal IP address (10.1.1.18). You will need to connect to the IP address of your router, but I am by no ways a network specialist, so I don't know if your router setup supports that.
|
|
#3
|
|||
|
|||
|
You need port forwarding for 3050 port to your PC
|
|
#4
|
|||
|
|||
|
Quote:
Do you mean, I must set the router's port fowarding exactly as 3050 to my 10.1.1.18, not 1888? |
|
#5
|
|||
|
|||
|
Quote:
Yes, but not necessary replace 1888 port forwarding, you can add another entry. And you can use zebedee to compress/encrypt traffic to your server If you use zebedee (I recommend you to do this, otherwise traffic and authentication info is sent unencrypted) : On server: zebedee –s localhost:3050 On router (settings below are for a Cisco router) ip nat inside source static tcp 10.1.1.18 11965 {public_ip} 11965 extendable On client pc zebedee 3051:{public_ip}:3050 Connection string localhost/3051:database |
![]() |
| Viewing: Dev Shed Forums > Databases > Firebird SQL Development > Missing WAN features in FireBird??? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|