Configuring ports and service names for replication servers
Replication servers must know the port numbers for each of the other replication servers in the domain.
About this task
Configure port numbers for replication servers in one of the following ways:
- Specify the port numbers in the sqlhosts file. This method risks conflicting with port numbers being used by other applications.
- Specify the service names in the sqlhosts file and specify the port numbers for each service name in the services file.
The services file is in the following
location.
Operating System | File |
---|---|
UNIX™ | /etc/services |
Windows™ | %WINDIR%\system32\drivers\etc\services |
Important: Leave a blank line at the end of
the services file on Windows.
For example, your services file
might look like the following:
sydney 5327/tcp
melbourne 5327/tcp
If the database servers reside on the same system, you must provide unique port numbers for each.