public static NeoServer startWebServer(
ImpermanentGraphDatabase gdb, int port) {
Configurator configurator = new ServerConfigurator(gdb);
configurator.configuration().setProperty(Configurator.WEBSERVER_PORT_PROPERTY_KEY, port);
NeoServer server = new WrappingNeoServer(gdb, configurator );
server.start();
tryConnect();
return server;
}