Error : Peers not reachable

I have recently started using aerospike for my organisation, I’m trying to connect with aerospike client using python.

here is my code

import aerospike
import settings
import logging

def main():
    seed_nodes = settings.AEROSPIKE_SEED   # [('', 3000)]

    config = {'hosts': seed_nodes}
        client = aerospike.client(config).connect()"Connected to Aerospike server successfully.")
        return client
    except aerospike.exception.ClientError as e:
        logging.error(f"Failed to connect to Aerospike server: {e}")

if __name__ == '__main__':

The error I am getting:

Traceback (most recent call last):
  File "/Users/yashmulchandani/Documents/Work/Projects/track/core/", line 21, in <module>
  File "/Users/yashmulchandani/Documents/Work/Projects/track/core/", line 13, in main
    client = aerospike.client(config).connect()
exception.ClientError: (-1, 'Peers not reachable:', 'src/main/aerospike/as_cluster.c', 708, False)

Do you have a server running on this same hots ( It seems the client is jut not able to connect to port 3000 on the localhost