Added a PORT variable to fix connection error