[[_ports]] === Socket Port Bindings The ports opened for each socket have a pre-defined default that can be overriden at the command line or within configuration. To illustrate this configuration, let's pretend you are running in <> and open up the _.../standalone/configuration/standalone.xml_. Search for `socket-binding-group`. [source,xml] ---- ---- `socket-bindings` define socket connections that will be opened by the server. These bindings specify the `interface` (bind address) they use as well as what port number they will open. The ones you will be most interested in are: http:: Defines the port used for {{book.project.name}} HTTP connections https:: Defines the port used for {{book.project.name}} HTTPS connections ajp:: This socket binding defines the port used for the AJP protocol. This protocol is used by Apache HTTPD server in conjunction `mod-cluster` when you are using Apache HTTPD as a load balancer. management-http:: Defines the HTTP connection used by {{book.appserver.name}} CLI and web console. When running in <> setting the socket configurations is a bit trickier as the example _domain.xml_ file has multiple `socket-binding-groups` defined. If you scroll down to the `server-group` definitions you can see what `socket-binding-group` is used for each `server-group`. .domain socket bindings [source,xml] ---- ... ... ---- NOTE: There's a lot more nifty options when setting up `socket-binding-group` definitions. See the link:{{book.appserver.socket.link}}[the socket binding group] chapter of the {{book.appserver.socket.name}}.