The server failed to start. See details for the server log.

0
  Hi all,   Please can anyone help me with the resolution of this issue. I am a  new user of mendix, a student. When I click run locally, it goes through the initialization process, then stops and prompts ‘The server failed to start. See details for the server log’.   java.io.IOException: Unable to establish loopback connection     at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:94)     at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:61)     at java.base/java.security.AccessController.doPrivileged(Native Method)     at java.base/sun.nio.ch.PipeImpl.<init>(PipeImpl.java:171)     at java.base/sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:50)     at java.base/java.nio.channels.Pipe.open(Pipe.java:155)     at java.base/sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:127)     at java.base/sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:44)     at java.base/java.nio.channels.Selector.open(Selector.java:295)     at org.eclipse.jetty.io.SelectorManager.newSelector(SelectorManager.java:383)     at org.eclipse.jetty.io.ManagedSelector.doStart(ManagedSelector.java:111)     at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72)     at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)     at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117)     at org.eclipse.jetty.io.SelectorManager.doStart(SelectorManager.java:262)     at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72)     at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)     at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110)     at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:321)     at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:81)     at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:234)     at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72)     at org.eclipse.jetty.server.Server.doStart(Server.java:386)     at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72)     at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandler.<init>(HttpAdminHandler.java:87)     at com.mendix.m2ee.appcontainer.AppContainer.setupAdminHandlerAndActions(AppContainer.java:154)     at com.mendix.m2ee.appcontainer.AppContainer.start(AppContainer.java:118)     at com.mendix.m2ee.appcontainer.AppContainer.handleEvent(AppContainer.java:404)     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.base/java.lang.reflect.Method.invoke(Method.java:566)     at com.mendix.container.support.EventProcessorDelegate.$anonfun$sendEvent$3(EventProcessorDelegate.scala:21)     at scala.collection.Iterator.foreach(Iterator.scala:941)     at scala.collection.Iterator.foreach$(Iterator.scala:941)     at scala.collection.AbstractIterator.foreach(Iterator.scala:1429)     at scala.collection.IterableLike.foreach(IterableLike.scala:74)     at scala.collection.IterableLike.foreach$(IterableLike.scala:73)     at scala.collection.AbstractIterable.foreach(Iterable.scala:56)     at com.mendix.container.support.EventProcessorDelegate.sendEvent(EventProcessorDelegate.scala:16)     at com.mendix.container.support.EventProcessor.sendEvent(EventProcessor.scala:24)     at com.mendix.container.support.EventProcessor.startSending(EventProcessor.scala:32)     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.base/java.lang.reflect.Method.invoke(Method.java:566)     at com.mendix.container.eventing.Eventing$.$anonfun$startSendingEvents$13(Eventing.scala:48)     at scala.util.Either.map(Either.scala:353)     at com.mendix.container.eventing.Eventing$.startSendingEvents(Eventing.scala:48)     at com.mendix.container.boot.Container$.$anonfun$doStart$11(Container.scala:167)     at scala.util.Either.flatMap(Either.scala:341)     at com.mendix.container.boot.Container$.$anonfun$doStart$8(Container.scala:165)     at scala.util.Either.flatMap(Either.scala:341)     at com.mendix.container.boot.Container$.doStart(Container.scala:160)     at com.mendix.container.boot.Container$.$anonfun$startAndWaitForever$2(Container.scala:123)     at scala.util.Either.flatMap(Either.scala:341)     at com.mendix.container.boot.Container$.$anonfun$startAndWaitForever$1(Container.scala:122)     at com.mendix.container.boot.Container$.time(Container.scala:210)     at com.mendix.container.boot.Container$.startAndWaitForever(Container.scala:122)     at com.mendix.container.boot.Main$.$anonfun$new$2(Main.scala:14)     at scala.util.Either.flatMap(Either.scala:341)     at com.mendix.container.boot.Main$.delayedEndpoint$com$mendix$container$boot$Main$1(Main.scala:13)     at com.mendix.container.boot.Main$delayedInit$body.apply(Main.scala:10)     at scala.Function0.apply$mcV$sp(Function0.scala:39)     at scala.Function0.apply$mcV$sp$(Function0.scala:39)     at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:17)     at scala.App.$anonfun$main$1$adapted(App.scala:80)     at scala.collection.immutable.List.foreach(List.scala:392)     at scala.App.main(App.scala:80)     at scala.App.main$(App.scala:78)     at com.mendix.container.boot.Main$.main(Main.scala:10)     at com.mendix.container.boot.Main.main(Main.scala) Caused by: java.net.ConnectException: Connection timed out: connect     at java.base/sun.nio.ch.Net.connect0(Native Method)     at java.base/sun.nio.ch.Net.connect(Net.java:482)     at java.base/sun.nio.ch.Net.connect(Net.java:474)     at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:694)     at java.base/java.nio.channels.SocketChannel.open(SocketChannel.java:194)     at java.base/sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(PipeImpl.java:127)     at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:76)     ... 71 more  
asked
1 answers
0

Do you have anything blocking the creating of local network services? By default Mendix needs to use port 8080 and 8090, these could be blocked on your machine. 

answered