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

link|improve this question

feedback

2 Answers

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

link|improve this answer
feedback

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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