I´m using netbeans 11.2 with wildfly 15 application server. When i try to run my test applicaiton, after deployment I get this error:
WildFly Application Ser
The key to this issue was adding native-management interface to wildfly configuration file like this:
<management-interfaces>
<native-interface security-realm="ManagementRealm">
<socket-binding native="management-native"/>
</native-interface>
<http-interface security-realm="ManagementRealm">
<http-upgrade enabled="true"/>
<socket-binding http="management-http"/>
</http-interface>
</management-interfaces>
and than
<socket-binding name="management-native" interface="management" port="${jboss.management.native.port:9999}"/>
Use below command from command prompt: It will kill port 8080
for /f "tokens=5" %a in ('netstat -aon ^| find ":8080" ^| find "LISTENING"') do taskkill /f /pid %a