fix ./gradlew run and actually allow multiple UDP ports

@nelgau