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

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

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 October 1st, 2010, 01:01 AM
thenoobs thenoobs is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2010
Posts: 4 thenoobs User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 27 m 44 sec
Reputation Power: 0
Setup firebird via internet

I have read threads about this case in this forum and follow the instruction there. But, I still cant connect to firebird via internet.

I set my router 'virtual server' :
Protocol = TCP,UDP
Port start = 3051
Port End = 3051
Port Map = 3051
Port Map End = 3051
uPnP enabled , PVC0

I tried to scan the port using Open Port Scanner
After I press 'check' on the web, my firewall start, asking me to gives access for incoming connection to firebird, the I press "Yes"
the web says, the port is open.

but when I try to connect using tibdatabase
databasename = 123.123.1.121/3051:AliasDbase
it cant connect. with error msg:
unable to complete network request to host '123.123.1.121'
failed to establish connection
no connection coul be made because the target machine actively refuse it


Can anybody give me any pointers?

Reply With Quote
  #2  
Old October 1st, 2010, 04:22 AM
nagysz nagysz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Posts: 200 nagysz User rank is Sergeant (500 - 2000 Reputation Level)nagysz User rank is Sergeant (500 - 2000 Reputation Level)nagysz User rank is Sergeant (500 - 2000 Reputation Level)nagysz User rank is Sergeant (500 - 2000 Reputation Level)nagysz User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 11 h 19 m 28 sec
Reputation Power: 13
did you configure Firebird to listen on port 3051? The default port is 3050. You might need to insert this port in the services file /windows/system32/driver/etc/services on windows or /etc/services on linux

is firebird installed on the server? first try to connect from a computer in the LAN, and if you're okay, then try from the internet.

for me it seems like it's a network configuration problem.



Quote:
Originally Posted by thenoobs
I have read threads about this case in this forum and follow the instruction there. But, I still cant connect to firebird via internet.

I set my router 'virtual server' :
Protocol = TCP,UDP
Port start = 3051
Port End = 3051
Port Map = 3051
Port Map End = 3051
uPnP enabled , PVC0

I tried to scan the port using Open Port Scanner
After I press 'check' on the web, my firewall start, asking me to gives access for incoming connection to firebird, the I press "Yes"
the web says, the port is open.

but when I try to connect using tibdatabase
databasename = 123.123.1.121/3051:AliasDbase
it cant connect. with error msg:
unable to complete network request to host '123.123.1.121'
failed to establish connection
no connection coul be made because the target machine actively refuse it


Can anybody give me any pointers?

Reply With Quote
  #3  
Old October 1st, 2010, 04:39 AM
thenoobs thenoobs is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2010
Posts: 4 thenoobs User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 27 m 44 sec
Reputation Power: 0
It works just fine if I connect to LAN.
localhost/3051

Quote:
Originally Posted by nagysz
did you configure Firebird to listen on port 3051? The default port is 3050. You might need to insert this port in the services file /windows/system32/driver/etc/services on windows or /etc/services on linux

is firebird installed on the server? first try to connect from a computer in the LAN, and if you're okay, then try from the internet.

for me it seems like it's a network configuration problem.

Reply With Quote
  #4  
Old October 2nd, 2010, 02:47 AM
nagysz nagysz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Posts: 200 nagysz User rank is Sergeant (500 - 2000 Reputation Level)nagysz User rank is Sergeant (500 - 2000 Reputation Level)nagysz User rank is Sergeant (500 - 2000 Reputation Level)nagysz User rank is Sergeant (500 - 2000 Reputation Level)nagysz User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 11 h 19 m 28 sec
Reputation Power: 13
Do you have a static public IP address? On dynamic address you'll have problems.



Quote:
Originally Posted by thenoobs
It works just fine if I connect to LAN.
localhost/3051

Reply With Quote
  #5  
Old October 2nd, 2010, 05:13 AM
thenoobs thenoobs is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2010
Posts: 4 thenoobs User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 27 m 44 sec
Reputation Power: 0
It is a public IP address. But it's dynamic, so every time I reset the modem, the IP change.
But when I am trying to connect to Firebird, I check my IP first, then try to connect to that address.

Do I had to have a static IP?


Quote:
Originally Posted by nagysz
Do you have a static public IP address? On dynamic address you'll have problems.

Reply With Quote
  #6  
Old October 2nd, 2010, 11:00 AM
nagysz nagysz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Posts: 200 nagysz User rank is Sergeant (500 - 2000 Reputation Level)nagysz User rank is Sergeant (500 - 2000 Reputation Level)nagysz User rank is Sergeant (500 - 2000 Reputation Level)nagysz User rank is Sergeant (500 - 2000 Reputation Level)nagysz User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 11 h 19 m 28 sec
Reputation Power: 13
Quote:
Originally Posted by thenoobs
It is a public IP address. But it's dynamic, so every time I reset the modem, the IP change.
But when I am trying to connect to Firebird, I check my IP first, then try to connect to that address.

Do I had to have a static IP?



Yes i had the same problem yesterday setting up a webserver for a company.
Then i called the provider and asked for a static IP, and the problem was solved.


When you have a dynamic address you can use Internet, but one from Internet cannot find you because there is no public route to your address, only inside your ISPs network.

Reply With Quote
  #7  
Old October 3rd, 2010, 06:18 PM
thenoobs thenoobs is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2010
Posts: 4 thenoobs User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 27 m 44 sec
Reputation Power: 0
Ic, Thanks..
I need to ask for static IP then

Quote:
Originally Posted by nagysz
Yes i had the same problem yesterday setting up a webserver for a company.
Then i called the provider and asked for a static IP, and the problem was solved.


When you have a dynamic address you can use Internet, but one from Internet cannot find you because there is no public route to your address, only inside your ISPs network.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesFirebird SQL Development > Setup firebird via internet

Developer Shed Advertisers and Affiliates



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 | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap