Port (Command Line Parameter)

From Homecoming Wiki
Revision as of 05:49, 22 January 2024 by BlackSpectre (historical) (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Command Line Parameter

-port number

Sets a network port.

A network port is used to send a network message to a specific program, process, or service on a computer. An IP address specifies a specific computer — or other network device — on a network. The port number determines which process or application on that computer will receive the network messages.

Typically, the -port launch parameter is used to direct a network message from your game client to a specific app or process on the Homecoming servers.


The Homecoming servers also need to send network messages to your game client.

Most network enabled programs and processes will "listen" for any message sent to a specified range of network ports. The typical ports that the COH game client listens to are:

  • TCP 2106
  • TCP 443
  • UDP 7000-7200

Firewalls are defensive security apps that block messages from other computers attempting to contact your computer. There is usually a firewall app on your computer and also one in your network router. For the Homecoming game servers to connect with your City of Heroes game client, you need to make sure that the above network ports are "open" and not blocked by your firewalls. These are fairly typical ports for games to communicate through, and most modern firewalls take this into account. However, if you ever have trouble connecting to the Homecoming game servers, it might be wise to double-check that these ports are open.


Example

-port 11229


Also