magento 2 change base url command code example
Example: magento set base url command line
php bin/magento setup:store-config:set --base-url="http://localhost:8080/"
php bin/magento setup:store-config:set --base-url="http://localhost:8080/"