Setting the proper port