Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 0.0.0.0:4500: Address already in use

On Ubuntu

share|improve this question

3 Answers 3

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)

regards

share|improve this answer

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

Netstat

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.