Good night,

I have a small problem,
I have data received in my server in a specefic port (8600), I open a socket to hear from the port but i seems that the port is used by annother application,

So is there a solution to keep the port (8600) and after reception, redirect all the the data in annother port and open a new socket in the new port.

If possible an exemple of code, thanks.
NB: I want the application using the port remains on.

Thank you for your help

Java Code:
 public static void main(String[] args) {
          InetAddress Address = InetAddress.getLocalHost();
            ServerSocket ecoute = new ServerSocket(8600, 100, Address);
            Socket service = (Socket) null;
                service = ecoute.accept();
                InputStream is = service.getInputStream();
                System.out.println("MSG : " +;
        }catch(Exception e){