I change the port following this link https://confluence.atlassian.com/display/STASH/Changing+the+port+that+Stash+listens+on, but both the two link http://stash_visit_url.com and http://stash_visit_url.com:7990 can't be visited.
I changed the server.xml like following
Two things might be at play here, and I'd highly suggest checking the logs for specific errors, but:
Firstly on the first line, your config appears slightly off.
<Server port="80" ...>
Should instead, be left as is, being:
<Server port="8006" ...>
The documentation says "Free port", but unless 8006 is being used by another service, it can stay as is. It isn't used by the end-users.
Secondly, for the Connector port, which is in the <Connector...> part of the config file, this is where the user-facing port is defined. Port 80 on most machines are protected from being used by non-root users, so if you're running as a non-root user you might want to look at doing a port forward instead. I'd try switching Server port back and seeing if the service runs.
See the section "Using a reverse proxy for Stash" on https://confluence.atlassian.com/display/STASH/Proxying+and+securing+Stash for more information on how to do that, without running Stash as root.
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot