6 Replies Latest reply on Jun 17, 2020 6:51 PM by Dude!

    Want to use Port 80 for Java Application


      Hi Gurus,


      Version : Oracle Linux Server release 6.10


      Can anyone please provide steps how I can use default http port 80 for one of our JAVA Application , I tried to google I learned we cannot use Ports below 1024.

      and getting very complex solutions.


      I am trying to start to start our application on port 80 getting below error


      [ucas_build@jedloungeapp1 bin]$ ./start.sh


        JBoss Bootstrap Environment

        JBOSS_HOME: /app/wildfly-8.2.1.Final

        JAVA: /app/java/jdk1.8.0_221/bin/java


      16:51:25,685 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-8) JBAS017525: Started server default-server.

      16:51:25,773 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.undertow.listener.default: org.jboss.msc.service.StartException in service jboss.undertow.listener.default: Could not start http listener

              at org.wildfly.extension.undertow.ListenerService.start(ListenerService.java:137)

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_221]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_221]

              at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_221]

      Caused by: java.net.SocketException: Permission denied

              at sun.nio.ch.Net.bind0(Native Method) [rt.jar:1.8.0_221]


      If anybody has fixed this issue with easy steps please help me.


      Thanks & Best Regards