// loop through all the existing hostPort to see if there exists a conflict
forexistingPort:=rangeexistingPorts{
existingHostPortInfo:=decode(existingPort)
// if there already exists one hostPort whose hostIP may be 127.0.0.1, then a hostPort (which wants 0.0.0.0 hostIP and has the same protocol and port) will not fit