Portal Home > Knowledgebase > VPN - All platforms > OpenVPN error: write UDPv4: Can't assign requested address (code=49)


OpenVPN error: write UDPv4: Can't assign requested address (code=49)




Mac OS/X

In some situations where OS/X tries to deal with changes to it's Internet connection it leaves the network interface in an errored state. This prevents OpenVPN from starting.

Quick & dirty solution:

  • Reboot your computer.

Cleaner but more complicated solution:

 

  • Open a Terminal window. (Found in Applications -> Utilities.)
  • Enter the following commands:
    1. sudo ifconfig en1 down
    2. sudo route flush 
    3. sudo ifconfig en1 up
  • Please make sure to replace en1 with your actual Internet interface.
  • If you don't know which en interface is your Internet interface you can do a:
    1. sudo ifconfig
  • To get an overview and figure our which en interface is your Internet interface.

Above document is written for users of 12vpn.com but may apply to users of other VPN's.

 



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
iPhone: Cisco setup (Views: 11666)