|Subject||Re: [firebird-support] Firebird can't connect to host|
I can connect to the employee.fdb with the lookup address but can't connect with host address. I try to check the network status with the netstat -lntu command and I find the Firebird is running on 127.0.0.1:3050.
Actually, in my previous OS, the services is running on 0.0.0.0:3050 instead of 127xxx which means that service is able to accessed by random host, right?
So, may the main issue, is I don't know why the services is running on 127xxx instead of 0.0.0.0 and I don't know how to correct this simple problem.
And Nigel suggests me to do :
Looking in /etc/firebird/2.5/firebird.conf, I see mention of the following:
# specific network card. It enables rejection of incoming connections
# through any other network interface except this one. By default,
# connections from any available network interface are allowed.
# If you are using Classic Server, this setting is for Windows only.
# Under Linux, BSD or Mac OS X, with Classic server use xinetd or launchd
# configuration file (bind parameter).
# Type: string
RemoteBindAddress = 127.0.0.1
But your installation is most likely using the xinetd or launchd, and this config file 'should' be ignored, but jump in and change the IP address to 0.0.0.0, or the ethernet interface's IP, stop and start the server (`service firebird2.5-superclassic restart), and try another connect.
And the result is :
100% correct! I set the actual address on the firebird.conf and now the server can running and listen at all interfaces correctly.
Sorry for my bad english, and thanks a lot to all member of this group, especially for Nigel.
Greeting from the wonderful Indonesia,