Skip to main content

allowconnection

This ArcGIS Data Store utility is used with the relational store.

For security reasons, all connections to the data store are made through the GIS Server site by default. To open a relational store for connections from an additional machine, you can use the allowconnection utility.

Tip:

When you finish troubleshooting using the external connection, run the revokeconnection utility to block external connections.

You must run the allowconnection utility on the primary relational store machine only.

Syntax

allowconnection <host name> <username> [<database>]

Specify the name of the computer to allow to connect to the relational store (host name) and one of the database accounts used by the data store (username): either the data store administrator, replica owner, geodatabase administrator, or managed user (the user who publishes feature layer data), which you can obtain using the listadminusers or listmanageduser utility. You can also specify the name of the primary relational store database but, since there is only one, this value is optional.

Example

In this example, a connection is allowed from the workcom computer to the relational store when connecting as the hqo.n_1E7 managed user.

./allowconnection.sh workcom hqo.n_1E7

allowconnection workcom hqo.n_1E7