Studio connection probem

After CUBA Studio v.1.6.4 starting on centos 6.6, i have a problem with connection:

Problem accessing /studio/. Reason:

Remote connection is not permitted

Caused by:

java.lang.RuntimeException: Remote connection is not permitted
at org.mortbay.jetty.servlet.ServletHandler.handle(
at org.mortbay.jetty.servlet.SessionHandler.handle(
at org.mortbay.jetty.handler.ContextHandler.handle(
at org.mortbay.jetty.webapp.WebAppContext.handle(
at org.mortbay.jetty.handler.HandlerWrapper.handle(
at org.mortbay.jetty.Server.handle(
at org.mortbay.jetty.HttpConnection.handleRequest(
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(
at org.mortbay.jetty.HttpParser.parseNext(
at org.mortbay.jetty.HttpParser.parseAvailable(
at org.mortbay.jetty.HttpConnection.handle(
at org.mortbay.thread.QueuedThreadPool$
But studio 1.4.1 has not this problem on this server.


Since v.1.5.0 the Studio server does not allow to connect from non-local adresses by default. Are you sure you are connecting from the local host?

If you want to enable remote connections, just check the appropriate checkbox in the Studio server window.

What if I have only console, without GUI?

Sorry, I don’t understand. What do you mean by console?
From the stack trace I see that you have started the Studio server and trying to connect to it from web browser.

Server has not graphical desktop.

Then edit or add the following value to ~/.haulmont/studio/config.xml:


Hm, adding it does not help. Still remote connection banned.