By default, Nexus listens on port 8081. You can change this
port, by changing the value in
${NEXUS_HOME}/conf/plexus.properties this file is
shown in Example 6.1, “Contents of ${NEXUS_HOME}/conf/plexus.properties”. To change the port, stop
Nexus, change the value of applicationPort in this
file, and then restart Nexus. Once you do this, you should see a log
statement in ${NEXUS_HOME}/logs/wrapper.log telling
you that Nexus is listening on the altered port.
Example 6.1. Contents of ${NEXUS_HOME}/conf/plexus.properties
applicationPort=8081
runtime=${basedir}/runtime
apps=${runtime}/apps
work=${runtime}/work
webapp=${runtime}/apps/nexus/webapp
nexus.configuration=${runtime}/apps/nexus/conf/nexus.xml