I have a Flash client that I want to connect to a server. Both are using localhost and port 50000 so …