Firewall and communication configuration

This topic describes the communication between the IBM® UrbanCode® Deploy components, the firewall, and the ports involved in the communication.

Communication between the servers, agents, and relays

The agent runs the deployment target host and connects with the IBM UrbanCode Deploy server. Agents connect to server for low-latency, high-bandwidth, or real-time applications. Instead of each agent connecting directly to the server, agents connect to agent relays, which then connect to the server. The communication between the relays and the server is always unidirectional. The server does not initiate the connection with agents or agents relays.

The following diagram shows the main default ports that are involved in communication between the server, agents, and agent relays.

A diagram of the ports that agents, agent relays, and servers use to communicate; these are the same posts in the lists above

For more information on communication between the server, agents, and agent relays, see Agent security and communication, Agents, and Agent relays.

Communication between the server clusters, agents, and relays

The Deploy servers, within a server cluster, connect with each other. The IBM UrbanCode Deploy agents connect with the server cluster. The remote agents connect with the server clusters by using the agent relays, communication between the relays and the server cluster is always unidirectional.

The following diagram shows the main default ports that are involved in communication between agents, agent relays and the server cluster.

A diagram of the ports that agents, agent relays, and server clusters use to communicate; these are the same posts in the lists above

For more information on communication between the server, agents, and agent relays, see Agent security and communication, Agents, and Agent relays.

Communication ports topology

The following diagram shows the default port numbers that IBM UrbanCode Deploy uses for communication. Most of these ports can change depending on your choices at installation time. The following diagram is only a summary of the defaults. A topology that shows the ports that each part of IBM UrbanCode Deploy uses for communication

As shown in the diagram, agents can connect to servers directly or through agent relays. You must ensure that the agent communication can get to the server through any firewalls or other limitations.

Communication ports for the server

You must ensure that the server must have network access to the following ports:
  • The server must be able to initiate connections to the license server. The default port for Rational® Common Licensing is 27000. However, in some situations, the server uses different ports to connect to the license server. For more information, or to change the port, see https://www.ibm.com/support/pages/how-serve-license-key-client-machines-through-firewall.
  • The server must be able to accept connections from agents and agent relays. By default, agent relays and WebSocket agents connect on port 7919.
  • Users and agents that do not use a relay must be able to initiate connections to the server through HTTPS. The default port is 8443 for HTTPS.
  • Installing agents remotely on Linux™ or UNIX™ systems requires the server to initiate connections to the SSH port of the agent computer. The default port for SSH is 22.
  • Remote discovery of agents requires the server to initiate connections to port 22 for Linux agents and port 135 for Windows™ agents. See Discovering agents automatically.
  • The server might require access to other ports if you connect to external systems, such as an SMTP server for notifications or to cloud systems that use virtual system patterns.

Communication ports for agents connecting to the server through agent relay

For agents that connect to the server through agent relay, you must configure your networks and firewalls to allow the following communication. In this case, you install the agent relay on the same network and the same side of the firewall as the agents.
  • Agents must be able to open network connections on the agent relay JMS port. The default agent relay JMS port is 7916.
  • Agents must be able to open network connections on the agent relay HTTP proxy port. The default agent relay HTTP proxy port is 20080.
  • Agents must be able to open a network connection to the Agent Relay CodeStation proxy port (HTTP_proxy + 1, by default 20081).
  • Installing agents remotely on Windows™ systems requires the WinRS agent to initiate connections on ports 80 and 5985 on the target computer.
  • Agents run steps from automation plug-ins and source configuration plug-ins. Some of these steps require that agents create network connections to an external system.
  • Agent relays must be able to open network connections on the server JMS port. The default server JMS port is 7918.
  • Agent relays must be able to open network connections on the server with an HTTPS port. The default HTTPS port is 8443. You cannot reverse the direction of this connection.
To configure virtual images in supported clouds for communication with IBM UrbanCode Deploy, you must have access to the following ports:
  • Virtual images must be able to open network connections on the server's HTTP and HTTPS ports. The default HTTP and HTTPS ports are 8080 and 8443. You cannot reverse the direction of this connection.
  • The agent that is installed on the virtual image must be able to open network connections on the agent relay port.

For more information, see Agent security and communication, Agents, and Agent relays.

Communication ports for agents connecting directly to the server

For agents that connect directly to the server, you must configure your networks and firewalls to allow the following communication:
  • JMS agents must be able to open network connections on the server JMS port. The default server JMS port is 7918.
  • WebSocket agents must be able to open network connections on the server. The default server port is 7919.
  • Agents must be able to open network connections on the server with an HTTPS port. The default ports are 8080 and 8443.
  • Agents run steps from automation plug-ins and source configuration plug-ins. Some of these steps require that agents create network connections to an external system.

For more information, see Agent security and communication, Agents, and Agent relays.