Can't assign requested address

Can't assign requested address

by Vincenzo Pecorella -
Number of replies: 1

Hello, 

I'm trying to complete ex3 of lab3 but when I try to bind the socket to the required address 'tcpip.epfl.ch' on port 5004, it return the error "Can't assign requested address". 

To avoid this problem I already tried: 

- To run the code on the VM over EPFL wifi

- To bind the socket with the real IPV4/6 address instead of 'tcpip.epfl.ch'

- To look on Internet about the error but any question related to it seems not in the scope of the lab (it usually happens with localhost addresses)

However, the problem still persist. 

What can I do to solve it?


Thanks in advance