In Eclipse you can set hostname for JBoss Runtime. But I can't find this configuration in IDEA Intellij.
netstat -lnt
show
tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN
WildFly and IntelliJ Integration You can find it in: Settings > Build, Executions, Deployment -> Application Servers > “+” > JBoss Server. Then, you will be able to add a Run/ Debug configuration which includes JBoss Server.
It tells JBoss which local address to bind to. The server will only listen on that specific interface, not on all local interfaces. (e.g. if you have bind address set to 127.0. 0.1 , it will not listen to connection from other hosts, only on localhost.)
Right-click a file and select Open in Browser. From the main menu, select View | Open in Browser. Use the browser popup in the top right part of the editor window. Click the browser button to open the web server file URL, or Shift+Click it to open the local file URL.
From the main menu, select Run | Edit Configurations. Alternatively, press Alt+Shift+F10 , then 0 . In the left-hand pane of the run/debug configuration dialog, click Edit configuration templates…. In the Run/Debug Configuration Templates dialog that opens, select a configuration type.
You could also simply do this in IntelliJ:
Run
> Edit Configurations
from the IDE's menuApplication server
-Djboss.bind.address=0.0.0.0
to yourVM Options
"-b 0.0.0.0" bound JBoss on any interface.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With