gwt 2.0 hosted mode "plugin failed to connect to hosted mode server"
I am trying to write a sample application using GWT and Intellij IDEA 9. Everything seems to be fine, but as soon as I launch hosted mode and open the page, I get this alert window in both Firefox and Chrome:
plugin failed to connect to hosted mode server at 127.0.0.1
Google told that replacing 127.0.0.1 can help, but it doesn't in my case.
Could someone please explain how to resolve this issue and, possibly, why this error happens.