Configuring Ports

(Optional) Use the scc -port command to assign Sybase Control Center services to new ports.

Prerequisites
Check for port conflicts between Sybase Control Center and other software running on the same host.
Task

Sybase Control Center cannot function properly if other services use its ports. If you discover a conflict with any port listed in the right column below, you can either reconfigure the other service’s port or reconfigure Sybase Control Center as described here.

Short port name Description Service names Property names Default port number
db Database port

SccSADataserver

Messaging

Alert

Scheduler

com.sybase.asa.server.port

messaging.db.port

alert.database.port

org.quartz.dataSource.ASA.URL

3638
http Web HTTP port EmbeddedWebContainer http.port 8282
https Web HTTPS (secure HTTP) port EmbeddedWebContainer https.port 8283
jiniHttp JINI HTTP server Jini httpPort 9092
jiniRmid JINI Remote Method Invocation daemon Jini rmidPort 9095
msg Messaging port Messaging messaging.port 2000
rmi RMI port RMI port 9999
tds Tabular Data Stream™ port (used to communicate with other Sybase products) Tds tdsPort 9998
  1. Shut down Sybase Control Center.
  2. Execute scc --info ports to display a list of Sybase Control Center services, their properties, and their assigned ports.
  3. To reassign a port, enter a command in one of these formats:
    scc --port port-name=port-number
    scc --port service-name:property-name=port-number

    Use the first, simpler format unless you want to configure the database services to use different ports. (By default, they all use the same port.)

  4. Start Sybase Control Center.
  5. Execute scc --info ports again to confirm that the port has been reassigned.

Examples

Set all four database services (data server, messaging, database alert, and scheduler) to the same port, 3639. (The database is SQL Anywhere, used by the Sybase Control Center internal repository.)

scc --port db=3639

Set only the database messaging service to port 3639.

scc --port Messaging:messaging.db.port=3639

Set the HTTP port to 9292.

scc --port http=9292

Set the Jini RMI daemon to port 9696.

scc --port jiniRmid=9696

Set the main Sybase Control Center messaging service to port 2001.

scc --port msg=2001

Set the RMI port to 9991.

scc --port rmi=9991

Set the Tabular Data Stream port to 9997.

scc --port tds=9997
Note: scc commands that include a port-setting option (-p or --port, for example) do not start Sybase Control Center. To start SCC, execute a separate scc command.
Related reference
scc Command