此内容没有您所选择的语言版本。

11.14. Binding Applications to Ports


All ports less than 1024 are reserved for OpenShift Enterprise operations, and developers cannot bind to these ports. However, ports greater than 1024 are available for binding, and the following table shows the commonly used ports.

Important

While the following ports are suggestions for available applications or gears, ports 2303 - 2308 are reserved for OpenShift SNI Implementation, and port 10050 is reserved for the OpenShift Enterprise Zabbix agent. You cannot bind to these ports.
Expand
Table 11.6. Common Ports and Their Usage
Application Name Port Number Description
Kerberos 4444 Kerberos is used for user authentication identifying with a node.
Git 9418 Git is used for version control.
MySQLd 3306, 63132-63164 My Structured Query Language (MySQL) acts as a server providing access to databases.
Mongod 27017 MongoDB acts as a server providing access to databases.
PostgreSQL 5432 PostgreSQL acts as a server providing access to databases.
MS SQL 1433-1434 MS SQL acts as a server providing access to databases.
Oracle 1521, 2483, 2484 Oracle acts as a server providing access to databases.
HTTP/HTTPS 8008, 8009, 8443 Hypertext Transfer Protocol Secure (HTTPS) is used for secure communication over a server.
HTTP cache 8080, 8118, 8123, 10001-10010 HTTP cache is used for the temporary storage of documents.
memcache 11211 memcache is a memory caching system.
jacORB 3528, 3529 JacORB is a Java request broker.
JBoss Debug 8787 A debug program for JBoss applications.
JBoss Management 4712, 4447, 7600, 9123, 9990, 9999, 18001 A management program for JBoss applications.
AMQP 5671-5672 Advanced Message Queuing Protocol (AMQP) is used to transfer messages between applications.
PulseAudio 4713 PulseAudio is a server that manages the use of audio devices.
Flash 1935 Flash is a multimedia platform.
Munin 4949 Munin is a network monitoring application.
Virt Migration 49152-49216 Virt migration is the copying of one machine's data and moving it to another.
OCSP 9080 Online Certificate Service Protocol (OCSP) is a protocol used for obtaining the status of a certificate.
Ports 15000 - 35530 are available for binding internal IP, but these ports are not externally addressable. You can also bind to $ OPENSHIFT_Cart_Name_PORT (8080) for HTTP connectivity, which reroutes externally through port 80.

11.14.1. Configuring WebSocket Ports

Because the main routing layer is currently based on Apache, WebSocket can be used by connecting to specific ports on an application. WebSocket connections are supported with browser based applications on OpenShift Enterprise, allowing bidirectional communication without requiring multiple, open HTTP connections. The TCP based protocol uses HTTP as an initiation handshake which is handled as an upgrade request. If successful, the connection remains open and switches to the WebSocket protocol.
For plain WebSocket connections (ws://), requests are directed to port 8000, while WebSocket Secure connections (wss://) use port 8443, as shown in the following example:
  • http://example.example.com:8000
  • https://example.example.com:8443
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat