Ports are already operated by local government. This is standard practice in basically all countries. The most efficient port in the world, Yokohama, is operated by the local harbor district, in exactly the same manner as Long Beach operated by the local city council.
I don't think nationalization is going to solve the problem here.
I don't think nationalization is going to solve the problem here.