Fix port binding error