Re: [Firebird-devel] Default port on client side

2017-09-28 Thread Dmitry Yemanov

27.09.2017 16:05, Roman Simakov wrote:


I noticed that client uses RemoteServicePort parameter from
firebird.conf if it's not specified in connection string. Is it by
design?


Yes, IIRC since Interbase times.


Dmitry

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Default port on client side

2017-09-28 Thread Roman Simakov
OK. Thanks to all :)

2017-09-29 7:44 GMT+03:00 Dmitry Yemanov :
> 27.09.2017 16:05, Roman Simakov wrote:
>>
>>
>> I noticed that client uses RemoteServicePort parameter from
>> firebird.conf if it's not specified in connection string. Is it by
>> design?
>
>
> Yes, IIRC since Interbase times.
>
>
> Dmitry
>
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> Firebird-Devel mailing list, web interface at
> https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Roman Simakov

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Default port on client side

2017-09-28 Thread Stefan Heymann
> ON CLIENT:
> expected: if port is not specified (like localhost:alias) use 3050
> real: if port is not specified (like localhost:alias) use config or 3050

I don't know how you come to this expectation. My expectation is what
you describe als "real" :-)

As my clients usually don't come with a config file, they all fall
back to 3050. But on a "full" client installation I'd expect it to use
the configuration settings before falling back to 3050.


Regards

Stefan



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel