Re: Informix I-Net problem
Posted in 1992
Topics: Installation, Setup & Upgrades, Networking & sqlhosts Configuration
In article <memo.594498@cix.compulink.co.uk> shemminga@cix.compulink.co.uk writes: > >This may seem like a dumb question but I understand the entry that is >made in /etc/services is to allow tcp/ip to make connections. Would >having more than one entry mean that I could have more connections? > No. /etc/services only maps a service name to a well known port number that is needed to make the connection. When making a connection to a server, the client must specify the port number to TCP so it knows to which process (server) it should give the packets to. Instead of coding the number in the code, the client finds out what number to use at runtime. You can change the port number as long as it is the same on the server and client machines. This is necessary to avoid port number conflicts, e.g. Informix decides to use port number xxxx for Inet and then you install I-Net on a machine that has another application using the same port number. Obviously, it won't work. For more info on port numbers and /etc/services consult the Unix networking bible, R.Stevens's "Unix Network Programming." -- --------------------------------------------------------------------------- Luis P. Caamano | lpc@dickens.com Dickens Data Systems, Inc. | uunet!dickens.com!lpc Atlanta, GA | (404) 475-8860 --------------------------------------------------------------------------- If I think I know it all, I'll stop learning. -myself The more I learn, the more I know I know nothing. -somebody else