Error Code 2 VPNCMD
-
- Posts: 3
- Joined: Mon Mar 23, 2015 2:51 pm
Error Code 2 VPNCMD
Hello !
I'm sorry, but I don't write English very well (I'm French :))
I installed SoftEther VPN Server 4.14 in a Ubuntu Server 12.04 LTS 32 Bits.
When I want to configure the soft with ./vpncmd ant the option 1, I've got this :
1. Management of VPN Server or VPN Bridge
2. Management of VPN Client
3. Use of VPN Tools (certificate creation and Network Traffic Speed Test Tool)
Select 1, 2 or 3: 1
Specify the host name or IP address of the computer that the destination VPN Server or VPN Bridge is operating on.
By specifying according to the format 'host name:port number', you can also specify the port number.
(When the port number is unspecified, 443 is used.)
If nothing is input and the Enter key is pressed, the connection will be made to the port number 8888 of localhost (this computer).
Hostname of IP Address of Destination:
If connecting to the server by Virtual Hub Admin Mode, please input the Virtual Hub name.
If connecting by server admin mode, please press Enter without inputting anything.
Specify Virtual Hub Name:
Error occurred. (Error code: 2)
Protocol error occurred. Error was returned from the destination server.
Can you help me please ?
Thank you :)
I'm sorry, but I don't write English very well (I'm French :))
I installed SoftEther VPN Server 4.14 in a Ubuntu Server 12.04 LTS 32 Bits.
When I want to configure the soft with ./vpncmd ant the option 1, I've got this :
1. Management of VPN Server or VPN Bridge
2. Management of VPN Client
3. Use of VPN Tools (certificate creation and Network Traffic Speed Test Tool)
Select 1, 2 or 3: 1
Specify the host name or IP address of the computer that the destination VPN Server or VPN Bridge is operating on.
By specifying according to the format 'host name:port number', you can also specify the port number.
(When the port number is unspecified, 443 is used.)
If nothing is input and the Enter key is pressed, the connection will be made to the port number 8888 of localhost (this computer).
Hostname of IP Address of Destination:
If connecting to the server by Virtual Hub Admin Mode, please input the Virtual Hub name.
If connecting by server admin mode, please press Enter without inputting anything.
Specify Virtual Hub Name:
Error occurred. (Error code: 2)
Protocol error occurred. Error was returned from the destination server.
Can you help me please ?
Thank you :)
-
- Posts: 62
- Joined: Tue Mar 17, 2015 7:54 am
Re: Error Code 2 VPNCMD
Hello, please verify your installation.
Run ./vpncmd and press 3. Then type in "check" .
Run ./vpncmd and press 3. Then type in "check" .
-
- Posts: 3
- Joined: Mon Mar 23, 2015 2:51 pm
Re: Error Code 2 VPNCMD
Hello,
Thank you for your answer.
The check is ok, everything pass.
"Checking 'Kernel System'...
Pass
Checking 'Memory Operation System'...
Pass
Checking 'ANSI / Unicode string processing system'...
Pass
Checking 'File system'...
Pass
Checking 'Thread processing system'...
Pass
Checking 'Network system'...
Pass
All checks passed. It is most likely that SoftEther VPN Server / Bridge can operate normally on this system.
The command completed successfully."
Thank you for your answer.
The check is ok, everything pass.
"Checking 'Kernel System'...
Pass
Checking 'Memory Operation System'...
Pass
Checking 'ANSI / Unicode string processing system'...
Pass
Checking 'File system'...
Pass
Checking 'Thread processing system'...
Pass
Checking 'Network system'...
Pass
All checks passed. It is most likely that SoftEther VPN Server / Bridge can operate normally on this system.
The command completed successfully."
-
- Posts: 3
- Joined: Mon Mar 23, 2015 2:51 pm
Re: Error Code 2 VPNCMD
Hello,
Nobody can help me ?
Thank you :)
Nobody can help me ?
Thank you :)
-
- Posts: 2458
- Joined: Mon Feb 24, 2014 11:03 am
Re: Error Code 2 VPNCMD
I guess that another process occupies 443 port.
Try to connect with 5555.
Try to connect with 5555.
-
- Posts: 3
- Joined: Sat Jan 30, 2016 9:53 am
Re: Error Code 2 VPNCMD
I'm having the same issue on Gargoyle on Alix6f board, i've installed the server (4.21-9613, same on loder version), all the checks are ok with vpncmd, but when i try to connect to the server locally (first connection) i have the error
Error occurred. (Error code: 2)
Protocol error occurred. Error was returned from the destination server.
It's a new installation therfore i don't think there is anything on the ports (to be sure i also disabled openvpn that comes by default).
Same for Gargoyle 1.8.1 and 1.9.0, it's strange becouse on OpenWRT on the same board it works perfect.
Any help wellcome !
Error occurred. (Error code: 2)
Protocol error occurred. Error was returned from the destination server.
It's a new installation therfore i don't think there is anything on the ports (to be sure i also disabled openvpn that comes by default).
Same for Gargoyle 1.8.1 and 1.9.0, it's strange becouse on OpenWRT on the same board it works perfect.
Any help wellcome !
-
- Posts: 5
- Joined: Thu Oct 05, 2017 11:14 am
Re: Error Code 2 VPNCMD
I also have the same problem, I am in China, hope to get help
-
- Posts: 1
- Joined: Wed Apr 24, 2019 3:03 am
Re: Error Code 2 VPNCMD
Yes this was the solution ... after I killed existing process which was using port 443 this issue was solved - Thanks
Would be good if vpncmd gave a better error to clue people into this cause of error - take care
-
- Posts: 1
- Joined: Mon Sep 30, 2019 2:38 pm
Re: Error Code 2 VPNCMD
I had the same issue and needed to specify 127.0.0.1:5555 for the first question of the vpncmd. It seems that ipv6 has precedence to translate 'localhost' in my environment. Hope this help someone having the same issue as me.