Salesforce

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

« Go Back

Information

 
TitleWhen to use machine-name or IP address or localhost for the value of the connection parameter -H
URL NameP112566
Article Number000128019
EnvironmentProduct: OpenEdge
Version: All supported versions
OS: All supported platforms
Question/Problem Description
When to use machine-name or IP address or localhost for the value of the connection parameter -H
What effect does starting a database using -H localhost have for clients making remote connections to the database?
What effect does starting a database using -H <host TCP-IP address> have for clients making remote connections to the database?
What effect does starting a database using -H hostname have for clients making remote connections to the database?
What effect does leaving off the -H parameter have when starting the database with -S?
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution
The -H ( Host ) parameter value, used when starting a database can effect how a remote client is able to connect to that database.

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

It is not the Progress client that is license restricted, it is able to connect to any server that has remote logins enabled. The restriction is in the database server component where the server is bound to the loopback interface to prevent it from allowing network connections from clients on other machines. That means that any client connecting must be running on the same machine, and must be connecting using -H localhost / -H 127.0.0.1.

Client-Server connections fail with Error 1432 with a Personal Database License

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 Hostname or TCP-IP address and -S <parameter> for the database.

Error 1432 with 'errno 0' when try to connect client/server: First things to rule out.
Workaround
Notes
Keyword Phrase
Last Modified Date3/15/2021 8:58 AM

Powered by