#jetty.port help me please . ./gradlew :metad...
# troubleshoot
b
#jetty.port help me please . ./gradlew metadata servicewar:run I'd like to change the port 8080 to 9002
sos
b
Someone will no doubt ask, but why are you changing gms port number to frontend port?
b
Only the 8080 is available for front-end access because of security issues.......
b
um.. 1. are you doing local development (hence the gradlew command) 2. but GMS is already reachable currently from frontend via localhost:9002/api/gms actually im not clear on the local development part; i have never tried before. Just commenting in because I think your question is not clear
b
1. yes
2. At Docker startup I switched ports on the front and back ends. But GMS Gradlew doesn't know how to switch
b
@incalculable-ocean-74010
i
Why are you using gradlew to start GMS?
You can build local gms and then deploy that using docker where you can change the port. See https://datahubproject.io/docs/developers#deploying-local-versions