Earthworm Client - Connection Refused

I am trying to pull waveforms from my Earthworm WWS but each time I attempt to do so, I get an error. Here is how I’m setting up the call for station data.

from obspy.clients.earthworm import Client
client = Client("", 16000)   # not the actual IP or Port
stime = UTCDateTime('2021-05-01 00:01:00')  # chose recent time
st = client.get_waveforms(network='KY', station='*', location='*', channel='?[HN]Z', starttime=stime - tmin, endtime=stime + tmax)

When I try to pull the data, I get the error:

Traceback (most recent call last):
File “/mnt/home/jpsc230/anaconda3/envs/bin/lib/python3.8/site-packages/IPython/core/”, line 3417, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File “”, line 1, in
st = client.get_waveforms(‘KY’, ‘’, '’, ‘?[HN]Z’, stime - tmin, stime + tmax)
File “/mnt/home/jpsc230/anaconda3/envs/bin/lib/python3.8/site-packages/obspy/clients/earthworm/”, line 111, in get_waveforms
tbl = read_wave_server_v(, self.port, scnl, starttime,
File “/mnt/home/jpsc230/anaconda3/envs/bin/lib/python3.8/site-packages/obspy/clients/earthworm/”, line 264, in read_wave_server_v
sock = send_sock_req(server, port, reqstr.encode(‘ascii’, ‘strict’),
File “/mnt/home/jpsc230/anaconda3/envs/bin/lib/python3.8/site-packages/obspy/clients/earthworm/”, line 140, in send_sock_req
s.connect((server, port))
ConnectionRefusedError: [Errno 111] Connection refused

I’m not sure how to get around the refused connection. Any help is appreciated.