"禁止出入港口" can be translated into English as "Prohibition of entry into and departure from the port" or more concisely as "Port entry and departure prohibited".
Both expressions convey the meaning that vessels or individuals are not allowed to enter or leave the port. The choice between them may depend on the specific context and the level of formality required.