don't submit socketPort when it is not available.