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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: