move port to cred file