Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I got this error , I dont what is issue ?

sudo vpnc
vpnc: Error binding to source port. Try '--local-port 0'
Failed to bind to Address already in use

On Ubuntu

share|improve this question
up vote 0 down vote accepted

vpnc is sometimes a bit buggy. first, always check whether an instance of vpnc-connect or vpnc is running by doing:

ps aux | grep vpnc

if there is, kill it with kill and the process id you get on the second column.

i personally always use vpnc-connect instead of a direct call to vpnc (anyway afaik on most system, it's a symlink to vpnc).

could you post your config file? Located under /etc/vpnc/default.conf and /etc/vpnc.conf (remember that you cannot read them as normal user)


share|improve this answer

Sounds like something else is already using port 4500 try using netstat to find out what


If you want to see Routing Tables,all open ports,all listen ports

netstat -nr

-n means return numeric output (ie, IP address instead of hostname)

-r means print the routing table

find all open ports

netstat -a

find listening ports

netstat -l

share|improve this answer

This just happened to me;

in my case reason was another vpn client installed (Shrew Soft Ike) and auto-starting at start-up.

Try to catch if some other vpn client is running (in my case, ps -e | grep ike), kill it and configure it to start only when required.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .