P
P
P_Alexander2019-09-19 23:19:32
linux
P_Alexander, 2019-09-19 23:19:32

How to configure JBOSS on port 8080?

Good evening.
I set up the server and I can’t figure out how to configure the server on port 8080 on the local host.
It turns out that on the local host the main page of the server and the Internet address, but it should be fine if you use different ports!
When I start the server from the IDE, it gives an error - Error running 'JBoss 17.0.0.Final': Address 127.0.0.1:9090 is already in Although I deploy my project at this address localhost:8080/appName
Here is my standalone.xml

<interfaces>
        <interface name="management">
            <inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
        </interface>
        <interface name="public">
            <inet-address value="${jboss.bind.address:127.0.0.1}"/>
        </interface>
    </interfaces>
    <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">
        <socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9090}"/>
<socket-binding name="management-https" interface="management" port="${jboss.management.https.port:9993}"/>
        <socket-binding name="ajp" port="${jboss.ajp.port:8009}"/>
        <socket-binding name="http" port="${jboss.http.port:8080}"/>
        <socket-binding name="https" port="${jboss.https.port:8443}"/>
        <socket-binding name="txn-recovery-environment" port="4712"/>
        <socket-binding name="txn-status-manager" port="4713"/>
        <outbound-socket-binding name="mail-smtp">
            <remote-destination host="localhost" port="25"/>
        </outbound-socket-binding>
    </socket-binding-group>

How to fix?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
vreitech, 2019-09-19
@P_Alexander

tcp port 9090 is still busy. terminate the process with pid 7572 before starting your application, or change this port in your application (or in an application with pid 7572) to some other one.

A
alfss, 2019-09-20
@alfss

<socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9090}"/>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question