localhost magento 2 installation redirects to the live server code example
Example: localhost magento 2 installation redirects to the live server
SELECT * FROM `core_config_data` WHERE `path` LIKE 'web/%/%url'
SELECT * FROM `core_config_data` WHERE `path` LIKE 'web/%/%url'