Good that you solved your issue and props to you for following up with how you solved it.
Just so you know, 'localhost' (or its IP equivalent, 127.0.0.1) are special addresses that always refer to the loopback interface of the machine you're on. Typing 'localhost' into your mobile phone tells it to look for a website being served on.. itself!