简体   繁体   中英

Unable to connect to Wildfly server in intellij

I am using Wildfly server for my application. I am running this server through intellij plugin. Whenever I run this application I am getting an error message

"Error running 'JBoss 9.0.1.Final': Unable to connect to the localhost:8080"

Here is my configuration in intellij.

在此处输入图片说明

Edit your standalone.xml, add this to it and try again.

Also, check your Java version. Wildfly 9 uses Java 7/8, maybe you need to downgrade Java version or update Wildfly to 14 or 15.

<interfaces>
    <interface name="management">
        <inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
    </interface>

    <!-- add the code below -->
    <interface name="public">
        <any-address/>
    </interface>
    <interface name="any">
        <any-address/>
    </interface>
</interfaces>

You can check here the best versions of each, so you can start your server without problems. Regards.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM