The problem is exactly what the title suggests. I am fairly new to JavaEE / JakartaEE development and I am using IntelliJ as my IDE.
But, upon accessing the URL above, I get 'refused to connect' error:
Please help.
Edit: This is the only error that is printed on console:
Aug 28, 2023 8:27:02 AM org.jboss.logmanager.JBossLoggerFinder getLogger
ERROR: The LogManager accessed before the "java.util.logging.manager" system property was set to "org.jboss.logmanager.LogManager". Results may be unexpected.
And, here are my dependencies in pom.xml
<dependency>
<groupId>jakarta.faces</groupId>
<artifactId>jakarta.faces-api</artifactId>
<version>4.0.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<version>6.0.0</version>
<scope>provided</scope>
</dependency>
Default port of a stock WildFly instance is 8080 (like as many other Jakarta EE application servers), but the 'URL' entry in 'Open browser' section of your IntelliJ Server config specifies 8110. This doesn't match. You need to edit the 'URL' entry to use port number 8080:
http://localhost:8080/hello-1.0-SNAPSHOT/
This specific config entry knows really nothing about the actual server being used. It is basically a free-entry setting which tells IntelliJ which webbrowser to launch and which URL to open once the deployment is successful. It's a free-entry because there may be a proxy server or hosts file configuration at the same machine beyond the control of the IDE which further changes the final hostname and/or port and/or even the context path to reach the deployment.