Subject RE: [ib-support] Re: TCP Port
Author Alan McDonald
OK - very good, thanks for that
-----Original Message-----
From: Artur Anjos [mailto:arsoft@...]
Sent: Friday, 2 August 2002 9:15
To: ib-support@yahoogroups.com
Subject: Re: [ib-support] Re: TCP Port



This is a different behaviour in IB and FB.

For the release notes in FB you will notice:

"
Connection now defaults to Port 3050
The client and server will now use TCP port 3050 if no entry in the
Services
file is found. This should solve a common client/server installation
problem.
"

I presume that FB will check the services file and use 'gds_db' port. If
there is none, it will use 3050.

For the client side, and quoting again the release notes:

"
The ability to specify a port is a new Firebird feature. To connect to a
server listening on a port that is not the standard 3050, you can now
include the alternative port in the connection string.
"

I know this works ok. I use it a lot with ZeBeDee.

Artur

----- Original Message -----
From: "Alan McDonald" <alan@...>
To: <ib-support@yahoogroups.com>
Sent: Friday, August 02, 2002 12:01 AM
Subject: RE: [ib-support] Re: TCP Port


I'd like to jump in here...
changing the port number in the services file will not change the port on
which IB/FB is listening. It will only define a port for the server to
operate with should there be a service wanting to use it.
In the case of IB/FB it (i imagine - please correct me) is "hard wired" to
use 3050 and to change it would need a recompile after changing the source
code.
Once the service is demanding a specific port, the OS needs to open that
port for listening and that's what the services file does.
Alan
-----Original Message-----
From: csswa [mailto:csswa@...]
Sent: Friday, 2 August 2002 0:45
To: ib-support@yahoogroups.com
Subject: [ib-support] Re: TCP Port



I have no idea except that the FB1 Release Notes state:

"Connection now defaults to Port 3050. The client and server will
now use TCP port 3050 if no entry in the Services file is found."

Ah-ha! So you'll need to add an entry to your SERVICES file. Mine
lies in C:\WINNT\system32\drivers\etc.

David R. Robinson had this to say in an article from the 12th Annual
Borland Developer's Conference:

---

Updating the TCP/IP services file
If your client application will be using TCP/IP to connect to the
InterBase server, you will need to be sure that the services file
contains the gds_db entry. The services file is called "services."
(no extension). The services file is found in the Windows folder on
Windows 95, Windows 98, and Windows Me. The services file is found
in the System32/drivers/etc folder on Windows NT and Windows 2000.
If the services file does not contain an entry for gds_db, then you
will need to add the following line to the services file:

gds_db 3050/tcp # InterBase

WARNING: It is crucial that you add the gds_db line to the services
file. You do not want to overwrite an existing services file with a
new one containing just the gds_db entry. Doing so would most likely
cause other applications to stop functioning.

Note: If you are installing InterBase on Windows NT or Windows 2000,
a normal user does not have rights to modify the services file. You
will have to run the installation program while logged in as a user
with Administrative rights.

---

So I guess you just change the port number to what you need...

Regards,
Andrew Ferguson
-- A centuries-old tradition of exaggeration.




--- In ib-support@y..., "Marcos Vinicius" <dufloth@t...> wrote:
> Hi. How can I change the default Firebird/Interbase tcp port 3050?
I can use another port?
>
> TIA.
>
> (o)(o)
> -----------------ooo--(__)--ooo---------------------
>
> Marcos Vinicius Dufloth
> dufloth@t...
> ICQ# 128291190
>
> "Se o nosso cérebro fosse simples o suficiente para
> podermos compreendê-lo, então seríamos idiotas o
> suficiente para não conseguirmos compreendê-lo"
>
>
>
>
> ---
> Este e-mail foi enviado livre de vírus.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.380 / Virus Database: 213 - Release Date: 26/07/2002
>
>
> [Non-text portions of this message have been removed]


Yahoo! Groups Sponsor
ADVERTISEMENT



To unsubscribe from this group, send an email to:
ib-support-unsubscribe@egroups.com



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



[Non-text portions of this message have been removed]


Yahoo! Groups Sponsor
ADVERTISEMENT



To unsubscribe from this group, send an email to:
ib-support-unsubscribe@egroups.com



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.




Yahoo! Groups Sponsor
ADVERTISEMENT



To unsubscribe from this group, send an email to:
ib-support-unsubscribe@egroups.com



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



[Non-text portions of this message have been removed]