Pivotal Application Service Deploy Fails with a UDP Port Error
search cancel

Pivotal Application Service Deploy Fails with a UDP Port Error

book

Article ID: 297772

calendar_today

Updated On:

Products

VMware Tanzu Application Service for VMs

Issue/Introduction

Symptoms:

When deploying an Pivotal Application Service job, the deploy fails and returns the following error: 

Failed to start UDP listener. Err: listen udp 10.0.0.10:1234: bind: address already in use
 

 

Environment


Cause

dhclient, the Linux process that sends Dynamic Host Configuration Protocol (DHCP) client requests, claims two UDP ports at random when a virtual machine (VM) starts. Because the Linux process selects the ports rather than Pivotal Application Service, it is possible for dhclient to select a port that is already in use by a job in your deployment.

If dhclient selects a port that one of your Pivotal Application Service jobs is configured to use, deploying that job fails and returns the above error.

 

Resolution

Restart the VM that produces this error. Upon restart, the dhclient process selects two new UDP ports.