Main Content

http

URL for insecure connections

Syntax

--http host:port

Description

http specifies the interface port and optional address or host name.

Parameters

host

Host name or IP address of the machine running the server instance. If you do not specify the host, the server binds to any available interface.

port

Port number used by the server instance to accept connections. Bind to any available port by specifying 0.

Examples

  • For on-premises server instances created using the command line, update the server configuration property in the main_config server configuration file.

  • For on-premises server instances created using the dashboard and for server deployments in the cloud, use the dashboard and cloud dashboard, respectively, to update the server configuration property.

Configure Using Command Line

Restrict Access to HTTP Interface for Local Clients Only on Port 9910

In the main_config file, set the http property to the following:

--http 9910
Bind to Any Free Port

In the main_config file, set the http property to the following. The bound address is written to $INSTANCE/endpoint/http.

--http 0
Bind to Specific IP Address and Port

In the main_config file, set the http property to the following:

--http 234.27.101.3:9920
Bind to Specific Host Name on Any Free Port

In the main_config file, set the http property to the following:

--http my.hostname.com:0

Configure Using Dashboard

Restrict Access to HTTP Interface for Local Clients Only on Port 9910

In the dashboard, in the Settings tab of your server instance, under HTTP, enter the following for the HTTP property:

9910
Bind to Any Free Port

In the dashboard, in the Settings tab of your server instance, under HTTP, enter the following for the HTTP property:

0
Bind to Specific IP Address and Port

In the dashboard, in the Settings tab of your server instance, under HTTP, enter the following for the HTTP property:

234.27.101.3:9920
Bind to Specific Host Name on Any Free Port

In the dashboard, in the Settings tab of your server instance, under HTTP, enter the following for the HTTP property:

my.hostname.com:0

See Also