TypeError: this constructor takes no arguments

Hi, please i am getting the above TypeError message even after using double underscore. i have tried to fix it but to no avail

You have to also bind those arguments to something under init function. Line 9 will have self.ip and self.port instead of just IP and port.

ok, thank you