I cannot connect with wildfly server to read a context information
class javax.naming.InitialContext
Failed to connect to any server. Servers tried: [remote://127.0.0.1:4447 (java.net.ConnectException: Connection refused: no further information)]
javax.naming.CommunicationException: Failed to connect to any server. Servers tried: [remote://127.0.0.1:4447 (java.net.ConnectException: Connection refused: no further information)]
at org.jboss.naming.remote.client.HaRemoteNamingStore.failOverSequence(HaRemoteNamingStore.java:244)
at org.jboss.naming.remote.client.HaRemoteNamingStore.namingStore(HaRemoteNamingStore.java:149)
at org.jboss.naming.remote.client.HaRemoteNamingStore.namingOperation(HaRemoteNamingStore.java:130)
at org.jboss.naming.remote.client.HaRemoteNamingStore.lookup(HaRemoteNamingStore.java:272)
at org.jboss.naming.remote.client.RemoteContext.lookup(RemoteContext.java:87)
at org.jboss.naming.remote.client.RemoteContext.lookup(RemoteContext.java:129)
at javax.naming.InitialContext.lookup(InitialContext.java:417)
at com.client.utilities.ClientUtility.getxaResource(ClientUtility.java:158)
at com.client.utilities.ClientUtility.registerDriver(ClientUtility.java:125)
at com.client.utilities.ClientUtility.setupGooPileXAConnection(ClientUtility.java:226)
at com.pile.businesslogic.GooPile.add(GooPile.java:52)
at com.client.ApplicationClient.FillGooPile(ApplicationClient.java:36)
at com.client.ApplicationClient.main(ApplicationClient.java:15)