Subject Re: Problems with Localhost
Author mt_headed99
--- In firebird-support@yahoogroups.com, "Chos de Ceridwen ;-)"
<chosxxx@...> wrote:
>
> I have a customer wich database disconnects on a local host, I have
> disabled the DHCP sense but I'm still having problems with the
connection.
>
> Could somebody help me?, What could be the reasons of this problem?
>

Could you clarify the problem - your message title and message body
contradict each other.

"localhost" is an alias for the machine you're sitting at (or that
your program lives on, whatever. There's usually an entry in the
'hosts' file (located in different places, depending on OS) that says:
localhost 127.0.0.1
If there is no such entry in your hosts file, that may be the problem
right there.


On the other hand, in your message body you say "on a local host". Do
you mean 'a host located on the local network'? (Or is it just a
confusion with articles - that happens too...) If that's what you
mean - and you did mention DHCP - then I recommend giving the server
machine a static IP, if you haven't already, and adding it to the
hosts file on each machine that needs to connect to it:
serverbox 192.168.1.42
where 'serverbox' is the name of your server, and 192.whatever is the
real IP address.

If that doesn't help, try posting again with a little more detail.