The source code of the page... View > View Source, or wherever it is in your browser.
Edit the correct values to settings.php, clear your browser cookies, login, change the settings again in the ACP.
I don't have a setting.php in the MyBB root directory
It's in the inc folder, as explained in the thread polarbear linked to.
Thanks MattRogowski!
It works! Thank for taking your time to help me with this problem.
Well it doesn't now because he changed the settings.