-1
I need a tip on how to set up my server for access of any machine within my network. I am testing in the following development/testing environment:
Eclipse EE Luna SR2 in Java 8;
Wildfly Server 8.2.1 powered by Eclipse;
In localhost my application runs beauty, but when I try to access through another machine gives error "The System return error 111: Connection refused". I’ve already made exceptions in the firewall (input and output) for port 8080 and nothing. My standalone.xml is configured like this:
<interfaces>
<interface name="management">
<any-address />
</interface>
<interface name="public">
<any-address />
</interface>
<interface name="unsecure">
<inet-address value="${jboss.bind.address.unsecure:0.0.0.0}"/>
</interface>
</interfaces>
What else do I need to do? Note: I only want access from inside my network.
The final part of the log looks like this : 14:47:53,849 INFO [org.jboss.Ws.common.management] (MSC service thread 1-2) JBWS022052: Starting Jboss Web Services - Stack CXF Server 4.3.2.Final 14:48:32,576 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1) 14:48:32,577 WARN [org.jboss.Weld.deployer] (MSC service thread 1-7) JBAS016012: Deployment Deployment "Sisprot.War" contains CDI Annotations but no bean Archive was found (no Beans.xml or class with bean Defining Annotations). 14:48:32,610 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-8) JBAS010417: Started Driver service with driver-name = Sisprot.war_com.mysql.jdbc.Driver_5_1 14:48:32,853 INFO [org.wildfly.Extension.Undertow] (MSC service thread 1-2) JBAS017534: Registered web context: /Sisprot 14:48:32,912 INFO [org.jboss.as.server] (Serverservice Thread Pool -- 28) JBAS018559: Deployed "Sisprot.War" (Runtime-name : "Sisprot.War") 14:48:33,009 INFO [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface Listening on http://127.0.0.1:9990/management 14:48:33,010 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console Listening on http://127.0.0.1:9990 14:48:33,010 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: Wildfly 8.2.1.Final "Tweek" Started in 41889ms - Started 270 of 325 services (92 services are Lazy, Passive or on-demand)
@Ninja2112 - This answer helped you?
– JGlass
.I made that modification, but I still don’t have access.
– Ninja2112
You can add the result of the server log file to your question when it is fully started, it will help identify the problem. Also, you are starting the server via Eclipse or command line?
– JGlass
Starting the server through Eclipse.
– Ninja2112
Updated the response at the bottom, if this does not work, you can turn off the server, clear the console window, restart the server and paste the entire console output (log), please?
– JGlass