Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » SQL Anywhere Server - Database Administration » The Database Server » The SQL Anywhere database server » Database server options

-xf server option Next Page

-xs server option


Specifies server-side web services communications protocols.

Syntax

{ dbeng10 | dbsrv10 } -xs { NONE | protocol } ...

protocol : { HTTP [ ( option=value;...) ]
| HTTPS [ ( [ FIPS={ Y | N }; ]option=value;...) ]
[ CERTIFICATE=server-identity-filename;
CERTIFICATE_PASSWORD=password ) ] } , ...

Applies to

All operating systems and servers.

Remarks

Use the -xs option to specify which web protocols you want to use to listen for requests.

If you do not specify the -xs option, the database server doesn't attempt to listen for web requests.

If you specify the -xs option with one or more protocols, the server attempts to listen for web requests using the specified protocol(s).

Note

If you want to start multiple web servers at the same time, then you must change the port for one of them since they both have the same default port.

You can use the HTTPS or the FIPS-approved HTTPS protocols for transport-layer security. See Using transport-layer security for SQL Anywhere web services.

Separately licensed component required

ECC encryption and FIPS-certified encryption require a separate license. All strong encryption technologies are subject to export regulations.

See Separately licensed components.

Regardless of which settings you specify with the -xs option, the server always listens for connection attempts using the shared memory protocol. You can specify any of the following:

For more information about available parameters, see Network protocol options.

On Unix, quotation marks are required if more than one parameter is supplied:

-xs "HTTP(OPTION1=value1;OPTION2=value2;...)"
Example

Listen for HTTP web requests on port 80:

dbeng10 web.db -xs HTTP(PORT=80)

Listen for web requests using HTTPS:

dbeng10 web.db -xs HTTPS(FIPS=N;PORT=82;CERTIFICATE=sample.crt;CERTIFICATE_PASSWORD=tJ1#m6+W)