casting the port to an int to see if i can connect to the db.