Impacket error for

I am getting this error what do I need to do to fix this

Traceback (most recent call last):
File “/home/eggz/impacket/examples/”, line 84, in
File “/home/eggz/.local/lib/python3.9/site-packages/impacket/”, line 533, in connect
af, socktype, proto, canonname, sa = socket.getaddrinfo(self.server, self.port, 0, socket.SOCK_STREAM)[0]
File “/usr/lib/python3.9/”, line 953, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

I’m experiencing the same issue

what command did you use for that ?