Consultor Eletrônico



Kbase P112566: When to use machine-name or IP address or localhost for the value of the connection parameter -H
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   23/11/2010
Status: Verified

GOAL:

When to use machine-name or IP address or localhost for the value of the connection parameter -H

GOAL:

What effect does starting a database using -H localhost have for clients making remote connections to the database?

GOAL:

What effect does starting a database using -H <host TCP-IP address> have for clients making remote connections to the database?

GOAL:

What effect does starting a database using -H hostname have for clients making remote connections to the database?

GOAL:

What effect does leaving off the -H parameter have when starting the database with -S?

FACT(s) (Environment):

All Supported Operating Systems
Progress/OpenEdge Product Family

FIX:

The -H parameter setting can effect how a remote client is able to connect to a database.

1. When localhost is used for the -H parameter, clients must connect from the same host that the database broker was started on and can only make shared memory connections or a remote connection by specifying -H localhost and the proper-S <parameter> that the database was started with.

2. When the database is started with a -H value of a Hostname, TCP/IP address or the -H parameter is left off completely at startup, a client from remote machine is able to connect by using the proper -H parameter, specifying either the proper Hostname or TCP-IP address and -S <parameter> for the database.