Didn't realize they were different and that worked, thanks! Opening the WebUI still directs it to the dead 5000 port, but typing in 5540 takes it to the working page. Not sure why it's still going to 5000 when that's deleted from the editor, but whatever.
Edit: nevermind! Figured out you have to edit it in advanced view, all issues fixed!