1.5.14. Standard communication ports of the CODESYS runtime system

The runtime system uses different TCP/IP and UDP/IP ports for communicaiton protocols. These ports and corresponding settings are listet here.

Port(s)

Protocol

Communication Purpose

Configurable

Setting

1740 – 1743

UDP / CODESYS Protocol

Programming and client interface of the CODESYS Control runtime system.

no

11740

TCP / CODESYS Protocol

Programming and client interface of the CODESYS Control runtime system.

yes

[CmpBlkDrvTcp]
ListenPort=<Port>

1217

TCP / CODESYS Gateway Protocol

Communication between the CODESYS Gateway Client and the CODESYS Gateway. Most CODESYS clients (for example the CODESYS Development System) talk via the Gateway to the runtime systems.

yes

[CmpGwCommDrvTcp]
ListenPort=<Port>

8080

TCP / HTTP

CODESYS Control web server used by the CODESYS WebVisu.

yes

[CmpWebServer]
WebServerPortNr=<Port>

443

TCP / HTTPS

CODESYS Control web server used by the CODESYS WebVisu (TLS).

yes

[CmpWebServer]
WebServerSecurePortNr=<Port>

443

TCP / WebSocket

Interface of the CODESYS Automation Server for the connection of the CODESYS Edge Gateway.

no

4840

TCP / OPC UA Binary

CODESYS OPC UA Server.

yes

[CmpOPCUAServer]
NetworkPort=<Port>

22350

TCP + UDP

Localhost communication between protected CODESYS products (for example the CODESYS Control runtime system) and the WIBU CodeMeter runtime residing on the same device.

no

1205 + 1206

UDP + TCP / CODESYS Redundancy Protocol

CODESYS Redundancy communication to synchronize the redundant PLCs.

yes

Ports can be configured within the CODESYS programming system.

1207

TCP (TLS) / CODESYS Visu Redundancy

CODESYS Redundancy communication to synchronize the visualization pages.

yes

Ports can be configured within the CODESYS programming system.