[[port-numbers]]
== Appendix A. Osmocom TCP/UDP Port Numbers

The Osmocom GSM system utilizes a variety of TCP/IP based protocols. The
table below provides a reference as to which port numbers are used by
which protocol / interface.

[[table.port]]
.TCP/UDP port numbers
[options="header",cols="10%,10%,40%,40%"]
|===============
|L4 Protocol|Port Number|Purpose|Software
|UDP|2427|MGCP GW|osmo-bsc_mgcp, osmo-mgw
|TCP|2775|SMPP (SMS interface for external programs)|osmo-nitb
|TCP|3002|A-bis/IP OML|osmo-bts, osmo-bsc, osmo-nitb
|TCP|3003|A-bis/IP RSL|osmo-bts, osmo-bsc, osmo-nitb
|TCP|4236|Control Interface|osmo-trx
|TCP|4237|telnet (VTY)|osmo-trx
|TCP|4238|Control Interface|osmo-bts
|TCP|4239|telnet (VTY)|osmo-stp
|TCP|4240|telnet (VTY)|osmo-pcu
|TCP|4241|telnet (VTY)|osmo-bts
|TCP|4242|telnet (VTY)|osmo-nitb, osmo-bsc, cellmgr-ng
|TCP|4243|telnet (VTY)|osmo-bsc_mgcp, osmo-mgw
|TCP|4244|telnet (VTY)|osmo-bsc_nat
|TCP|4245|telnet (VTY)|osmo-sgsn
|TCP|4246|telnet (VTY)|osmo-gbproxy
|TCP|4247|telnet (VTY)|OsmocomBB
|TCP|4249|Control Interface|osmo-nitb, osmo-bsc
|TCP|4250|Control Interface|osmo-bsc_nat
|TCP|4251|Control Interface|osmo-sgsn
|TCP|4252|telnet (VTY)|sysmobts-mgr
|TCP|4253|telnet (VTY)|osmo-gtphub
|TCP|4254|telnet (VTY)|osmo-msc
|TCP|4255|Control Interface|osmo-msc
|TCP|4256|telnet (VTY)|osmo-sip-connector
|TCP|4257|Control Interface|osmo-ggsn, ggsn (OpenGGSN)
|TCP|4258|telnet (VTY)|osmo-hlr
|TCP|4259|Control Interface|osmo-hlr
|TCP|4260|telnet (VTY)|osmo-ggsn
|TCP|4261|telnet (VTY)|osmo-hnbgw
|TCP|4262|Control Interface|osmo-hnbgw
|TCP|4263|Control Interface|osmo-gbproxy
|UDP|4729|GSMTAP|Almost every osmocom project
|TCP|5000|A/IP|osmo-bsc, osmo-bsc_nat
|UDP|2427|GSMTAP|osmo-pcu, osmo-bts
|UDP|23000|GPRS-NS over IP default port|osmo-pcu, osmo-sgsn, osmo-gbproxy
|===============
////
ATTENTION: Keep this list in sync with all of:
https://osmocom.org/projects/cellular-infrastructure/wiki/PortNumbers
https://git.osmocom.org/libosmocore/tree/include/osmocom/vty/ports.h
https://git.osmocom.org/libosmocore/tree/include/osmocom/ctrl/ports.h
////
