Base URL error when localhost

  • While configuring magento for the first time. When I try to set my base url to http://localhost it gives me an error.

    enter image description here

    `Im using 127.0.0.1/magento . i am getting the following error. There has been an error processing your request Exception printing is disabled by default for security reasons. Error log record number: 2099687523. though i use local host instead of 127.0.0.1 , i am getting same error. please help me ` behalf of vasuki

  • Simply replace the Base URL with this :

    http://127.0.0.1/
    

    Another solution is to add a line in your hosts file (/private/etc/hosts for OSX users, /etc/hosts for Unix/Linux users) such as:

    172.27.0.1 test.magento.com
    

    and then to use the corresponding URL while installation:

    Base URL = http://test.magento.com

License under CC-BY-SA with attribution


Content dated before 7/24/2021 11:53 AM