Lab 3 Part 4.1 - Address already in use

Lab 3 Part 4.1 - Address already in use

by Paul-Adrian Gafton -
Number of replies: 1

Hello,

I have tested a multicast server-client on my machine and everything seems to work perfectly. However, if I try to run a client on the VM on 224.1.1.1 port 10505, I get an "Address already in use error". If I kill the process running p4sv.py (started automatically at boot time), it works as expected. Is this normal?

In reply to Paul-Adrian Gafton

Re: Lab 3 Part 4.1 - Address already in use

by Alaeddine El Fawal -

Hello,

 

When you run the multicast experiment on your machine, what do you use as a server?

Are you writing the client and the server code? You are required to write only the client, as the server is already running on the VM in the background.

If you are launching your own server on the same port 10505 on the virtual machine, it is normal to get the error "Address already in use error", because there is another server that we provide and that is running in the background on the same port.

 

Hope this helps,

Alaeddine