'Application Server was not connected before run configuration stop

I am using Intellij Ultimate edition 18.2.7

Working on a Java project using Maven as my build tool.

I am getting this error when attempting to launch my project via Jetty server.

Error-

Application Server was not connected before run configuration stop, reason: java.rmi.ConnectException: Connection refused to host: 192.168.188.195; nested exception is: java.net.ConnectException: Connection timed out: connect"

Have attempted, to update the liquibse, maven, and service files, rebuild the project in IntelliJ, open and shut down IntelliJ, restart the system



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source