I am using Sonatype Nexus OSS version 3.2. Can anyone guide me how to customize the port in which Nexus run ?
I am not able to find any config file to customize port and custom the context path?
Currently Nexus is running on http://<ServerName>:8081/
and I want it to change as http://<ServerName>:9001/nexus
.
The default behavior of Nexus is to attempt to bind to port 8081 or 0.0. 0.0 (or every available interface). If you want to change the port or the host, you will need to modify the file in NEXUS_HOME/conf/nexus.
To use the user interface, fire up a web browser and type in the URL http://localhost:8081/nexus . You should see the user interface as displayed in Figure 3.5, “Application Window”. While we use localhost throughout this book, you may need to use the IP Loopback Address of 127.0.
To upload a pom file and its associated artifacts add all the files into the upload screen at the same time. Be sure to specify the extension of the pom file as pom ; this will let Nexus Repository know it should be taking the coordinates from the pom file, not the UI.
Yes it supports this.
You need to edit nexus.properties
in sonatype-work/nexus3/etc/
, specifically the application port. Set this to 9001, restart Nexus Repository and enjoy the ride :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With