Firebird SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesFirebird SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 20th, 2006, 02:04 AM
tsTang tsTang is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2006
Posts: 2 tsTang User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 25 m 20 sec
Reputation Power: 0
Unhappy Missing WAN features in FireBird???

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

Reply With Quote
  #2  
Old December 20th, 2006, 04:17 AM
shammat shammat is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2003
Location: Munich, Bavaria
Posts: 993 shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 4 h 1 m 41 sec
Reputation Power: 66
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.

Reply With Quote
  #3  
Old December 20th, 2006, 10:33 AM
badukist badukist is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 62 badukist User rank is Corporal (100 - 500 Reputation Level)badukist User rank is Corporal (100 - 500 Reputation Level)badukist User rank is Corporal (100 - 500 Reputation Level)badukist User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 13 h 3 m 18 sec
Reputation Power: 7
Send a message via Yahoo to badukist
You need port forwarding for 3050 port to your PC

Reply With Quote
  #4  
Old December 20th, 2006, 06:58 PM
tsTang tsTang is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2006
Posts: 2 tsTang User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 25 m 20 sec
Reputation Power: 0
Quote:
Originally Posted by badukist
You need port forwarding for 3050 port to your PC


Do you mean, I must set the router's port fowarding exactly as 3050 to my 10.1.1.18, not 1888?

Reply With Quote
  #5  
Old December 21st, 2006, 12:27 AM
badukist badukist is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 62 badukist User rank is Corporal (100 - 500 Reputation Level)badukist User rank is Corporal (100 - 500 Reputation Level)badukist User rank is Corporal (100 - 500 Reputation Level)badukist User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 13 h 3 m 18 sec
Reputation Power: 7
Send a message via Yahoo to badukist
Quote:
Originally Posted by tsTang
Do you mean, I must set the router's port fowarding exactly as 3050 to my 10.1.1.18, not 1888?


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

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesFirebird SQL Development > Missing WAN features in FireBird???


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway