Subject | Re: [firebird-support] hostname:databasename |
---|---|
Author | HECTOR RIOS |
Post date | 2012-09-08T21:14:03Z |
Hi Helen,
The 51160 port is not the firebird port, it is a port used to connect to a virtual machine. If you had several virtual machines, you´d use a different port to communicate to each one.
For example, I connect to the virtual machine -not the database- with remote desktop using scadcam.cloudapp.net:51165, then you give the windows account name and password. With that you have a virtual Windows Server 2008.
Then I go to cmd shell and firebird folder and start isql
Once inside isql, can connect with
connect employees or with
connect localhost:employees or with
connect localhost/3050:employees (I´m using the default firebird port).
That´s why, I think,
scadcam.cloudapp.net/51160:employees
does not work in this case.
Regards,
Hector
________________________________
From: Helen Borrie <helebor@...>
To: firebird-support@yahoogroups.com
Sent: Friday, September 7, 2012 2:55 PM
Subject: Re: [firebird-support] hostname:databasename
At 08:35 AM 8/09/2012, scadcam2004 wrote:
Also locate the parameter
#RemoteServicePort = 3050
in firebird.conf on the server, delete the '#' marker and change the port number to 51160.
I don't know whether your Microsoft Azure thing recognises external standards, though. If this doesn't work, your best bet would be to contact Microsoft support about it.
If you are using events, you will also need to open a specific port for event traffic and set the RemoteAuxPort parameter in firebird.conf.
./hb
The 51160 port is not the firebird port, it is a port used to connect to a virtual machine. If you had several virtual machines, you´d use a different port to communicate to each one.
For example, I connect to the virtual machine -not the database- with remote desktop using scadcam.cloudapp.net:51165, then you give the windows account name and password. With that you have a virtual Windows Server 2008.
Then I go to cmd shell and firebird folder and start isql
Once inside isql, can connect with
connect employees or with
connect localhost:employees or with
connect localhost/3050:employees (I´m using the default firebird port).
That´s why, I think,
scadcam.cloudapp.net/51160:employees
does not work in this case.
Regards,
Hector
________________________________
From: Helen Borrie <helebor@...>
To: firebird-support@yahoogroups.com
Sent: Friday, September 7, 2012 2:55 PM
Subject: Re: [firebird-support] hostname:databasename
At 08:35 AM 8/09/2012, scadcam2004 wrote:
>Hi,scadcam.cloudapp.net/51160:employees is the correct TCP/IP syntax when using a non-standard port. This isn't a workaround, it's the external standard for TCP/IP connection.
>Hope somebody can help me.
>Is it possible to use other than ":" to separate hostname and database name?
>My problem is this:
>I just started a project using a Microsoft Azure virtual machine in the cloud that will host a firebird database.
>To access the virtual machine you need to give a url plus port number. Like this:
>scadcam.cloudapp.net:51160 This would be the hostname.
>But when trying to access the database with scadcam.cloudapp.net:51160:employees, firebird reads up to the first ":" leaving out the port number needed to access the host.
>Is there a workaround?
Also locate the parameter
#RemoteServicePort = 3050
in firebird.conf on the server, delete the '#' marker and change the port number to 51160.
I don't know whether your Microsoft Azure thing recognises external standards, though. If this doesn't work, your best bet would be to contact Microsoft support about it.
If you are using events, you will also need to open a specific port for event traffic and set the RemoteAuxPort parameter in firebird.conf.
./hb
>Regards,[Non-text portions of this message have been removed]
>Héctor Ríos Mendoza
>mailto:scadcam%40gmail.com
>614 4155821, 4160317
>
>
>
>------------------------------------
>
>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
>Visit http://www.firebirdsql.org/ and click the Resources item
>on the main (top) menu. Try Knowledgebase and FAQ links !
>
>Also search the knowledgebases at http://www.ibphoenix.com/
>
>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>Yahoo! Groups Links
>
>
>