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 réponses
0
Réponse acceptée

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 :)

répondu il y a un an
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
répondu il y a un an
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
répondu il y a un an
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
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions