"禁止出入港口" can be translated into English as "Prohibition of entry into and departure from the port" or more concisely as "Port entry and departure ban".
Both expressions convey the meaning of restricting or prohibiting vessels or individuals from entering or leaving a port. The choice between them may depend on the specific context and the level of formality required.