client vpn(mac) said "The VPN process failed to start the port is already in use by another process"

2

Hello I was installed client vpn on my mac and use it. But the following error is returned "The VPN process failed to start the port is already in use by another process" What's wrong with this?

4 Answers
0
Accepted Answer

Hello. Everyone Thanks you This is a problem that appeared because the client vpn certificate file was incorrect. Please check again VPN Certifacate file. Thanks :)

answered a year ago
0

I can see the same error when nothing is occupying the port. So this error message seems to be a red-herring and mask the real error :(

Misha
answered a year ago
0

So it turns out that when you use the AWS CLI do download the VPN config file (*.ovpn) the file uses a little endian UTF-16 BOM encoding with non-unix EOL characters. The AWS VPN client chokes on that, and then helpfully gives this "port is already in use" error. I know.

The solution is either to manually change the file encoding, or to d/l the file from the AWS console using the "Download client configuration" button at the top of the VPN endpoint page - this provides a file with ANSI/UTF-8 encoding which works as expected.

annorax
answered a year ago
0

I was getting the same error, tried everything I could find on the issue but nothing worked. Eventually I figured out the problem by comparing an older client configuration file (ovpn) with the newer one which was causing this error. Both files were identical except for the last line. The new file included a line "verify-x509-name My Company VPN name". After removing this line, the new profile worked correctly and the connection was successfully established.

Rene
answered 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions