Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1429

resteasy-netty4 should return dynamic port when starting with port=0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.19.Final
    • 3.0.11.Final
    • jaxrs
    • None

      Currently when Starting Rest Easy Netty4 with the following code:

      NettyJaxrsServer netty = new NettyJaxrsServer();
      ResteasyDeployment deployment = new ResteasyDeployment();
      netty.setDeployment(deployment);
      netty.setHostname("localhost");
      netty.setPort(0);
      netty.start();
      

      Netty starts fine but it returns port 0 whereas it should return a dynamic port returned by Channel.

              slaskawi@redhat.com Sebastian Łaskawiec (Inactive)
              slaskawi@redhat.com Sebastian Łaskawiec (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: