How do you rebind the port of the web address from 8080 to 8000?

OS: Ubuntu latest version

How do you rebind the port of the web server from the default 8080 to 8000?
Recently tried this below:

sudo su -
ampinstmgr rebind

but I get this error

[Error] No such instance matching name: ''

I don’t know the name of the instance due to the fact i have started any instance i know off all ive done is run the basic fast setup and thats it and now trying to change the port of 8080 yo 8000

You don’t. ADS shouldn’t have it’s port moved. Whatever else is on 8080 should be the thing that’s moved.

Also ampinstmgr commands have to be run as the amp user - not as root.