It seems like the protocol has been changed.
Here is my solution (I tested on 3rd April 2015 and it works well):
In Settings -> Basic tab
- App Domain: localhost
- Click “+Add Platform” and choose “Website“
- Site URL: http://localhost:<port>/ (<port> is your port number)
- Save Changes