Fix public ip not set