Default port (8081) changing to different port in jfrog-artifactory-oss-7.3.2 in windows 10

旧街凉风 提交于 2020-05-30 08:00:08

问题


I have installed the jfrog-artifactory-oss-7.3.2 in windows 10. Default port has been changed to the 8285 in below files. (8285 port is available)

  1. C:\jfrog-artifactory-oss-7.3.2-windows\artifactory-oss-7.3.2\app\artifactory\tomcat\conf/server.xml
  2. C:\jfrog-artifactory-oss-7.3.2-windows\artifactory-oss-7.3.2\app\misc\tomcat/server.xml.template
  3. C:\jfrog-artifactory-oss-7.3.2-windows\artifactory-oss-7.3.2\app\misc\tomcat/server.xml

once execute artifactory.bat server is getting up without any issue. I don't see any log errors in catalina log either access, access_service etc log files.

but browser gives below error.

***** HTTP Status 404 – Not Found Type Status Report Message /ui/ Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. Apache Tomcat/8.5.51 *****

If i change back to the default port(8081) it works perfectly.

If someone came across issue like this please share your thoughts and solutions.


回答1:


To change server port of artifactory, you need change in system.yaml. Please review system.yaml.template.

The path in system.yaml is

artifactory:
  port: 8081

This change will make changes needed in server.xml as well.

Also if you want to change the router port which serves the UI. Please change system.yaml as below

router:
    entrypoints:
        externalPort: <new port>

Let me know if this does not work for you.



来源:https://stackoverflow.com/questions/61300397/default-port-8081-changing-to-different-port-in-jfrog-artifactory-oss-7-3-2-in

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!