Subject | RE: [firebird-support] Anyone ever seen error "cannot attach to password |
---|---|
Author | Alan McDonald |
Post date | 2005-04-14T21:40:53Z |
> Aage Johansen wrote:if you enable netbios in the tcp properties, the name should resolve without
>
> >Sam Hunt wrote:
> > > ...
> > > All the PCs on my company's (small) network have an IP address of
> > > 192.168.0.11 with an additional segment like ":755", so the
> complete IP
> > > address might be something like 192.168.0.11:755. The ":755" changes
> > > for a given PC every time it is rebooted. Does my server
> need a static
> > > IP address?
> >
> >I don't know much about tcp/ip, but your setup seems strange/new...
> >I always thought the units on the network must all have a unique address
> >(192.168.0.xxx, no ":yyy" (port?)). Your server's address must
> be fixed,
> >or you must use a (fixed) name that the client can resolve to the actual
> >current ip address.
> >Hope this can be corrected/amended/extended by someone ...
> >
> >--
> >Aage J.
> >
> I am aware that Firebird will use the
> C:\Windows\System32\Drivers\Etc\Hosts file to resolve host names.
> Unfortunately, my server is assigned a dynamic ip address when it boots
> (as many of our clients do/will), so the ip addreess in the hosts file
> is not good from boot to boot. I must find a solution and I am looking
> at some MS resource utilities.
> Thx
> Sam
>
a hosts entry. But this also depends on whether you nominate a master
browser and often even a master broswer will fail occasionally.
If you are being given a new IP from a DHCP, then you should (must) have a
name server OR you must enable WINS (ugly) to resolve the name. If a name
server is (can be) installed, then all PCs should be using it to resolve
names.
Alan
(I've never seen this :755 (segment syntax) so I can't comment on what that
does to the mix)