Archive Calculate
Error Code 2 VPNCMD

Error Code 2 VPNCMD

2024-11-23 post your question about SoftEther VPN software here . Please answer question if you can afford . djram82 post : 3 join : Mon Mar 23 ,

Related articles

5 Best Free VPN Korea to Get IP Address for South Korea in 2024 Best WeChat VPN: What Works in China & How To Use 2024 Modding:Installing SMAPI on Windows Best Korea VPN 2024 Xbox Game Pass: All Games Coming Soon In October 2024

post your question about SoftEther VPN software here . Please answer question if you can afford .

djram82

post : 3
join : Mon Mar 23 , 2015 2:51 pm

post

by djram82 » Mon Mar 23, 2015 2:57 pm

Hello !

I is ‘m ‘m sorry , but I do n’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 🙂


GIANT_CRAB

post : 62
Joined: Tue Mar 17, 2015 7:54 am

post

by GIANT_CRAB » Mon Mar 23 , 2015 4:43 pm

Hello , please verify your installation .

Run ./vpncmd and press 3. Then type in “check” .


djram82

post : 3
join : Mon Mar 23 , 2015 2:51 pm

post

by djram82 » Tue Mar 24, 2015 10:55 am

Hello,

Thank you for your answer.

The check is ok, everything pass.

“Checking ‘Kernel System’…
Pass
Checking ‘Memory Operation System’…
Pass
check ‘ ANSI / Unicode string processing system ‘ …
Pass
Checking ‘File system’…
Pass
check ‘ thread processing system ‘ …
Pass
check ‘ Network system ‘ …
Pass

All checks passed. It is most likely that SoftEther VPN Server / Bridge can operate normally on this system.

The command is completed complete successfully . “


djram82

post : 3
join : Mon Mar 23 , 2015 2:51 pm

post

by djram82 » Fri Mar is am 27 , 2015 6:18 am

Hello,

Nobody can help me ?

Thank you 🙂


thisjun

posts: 2458
join : Mon Feb 24 , 2014 11:03 am

post

by thisjun » We d Apr is am 01 , 2015 6:11 am

I guess that another process occupies 443 port.
Try to connect with 5555.


riodda

post : 3
join : Sat Jan 30 , 2016 9:53 am

post

by riodda »Wed Nov 09, 2016 5:21 pm

I ‘m have the same issue on Gargoyle on Alix6f board , i is installed ‘ve instal the server ( 4.21 – 9613 , same on loder version ) , all the check 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 is ‘s ‘s a new installation therfore i do n’t think there is anything on the port ( to be sure i also disable openvpn that come by default ) .
Same for Gargoyle 1.8.1 and 1.9.0 , it is ‘s ‘s strange becouse on OpenWRT on the same board it work perfect .
Any help wellcome !


1463887848

posts: 5
join : Thu Oct 05 , 2017 11:14 am

post

by 1463887848 » Thu Oct 05 , 2017 11:29 am

I also have the same problem , I is am am in China , hope to get help


EventHorizon

posts: 1
Joined: Wed Apr 24, 2019 3:03 am

post

by EventHorizon »Wed Jun 05, 2019 3:09 pm

thisjun is wrote write : ↑

Wed Apr 01, 2015 6:11 am

I guess that another process occupies 443 port.

Try to connect with 5555.

Yes this was the solution … after I kill exist process which was using port 443 this issue was solve – thank

Would be good if vpncmd gave a better error to clue people into this cause of error – take care


takeshi4126

posts: 1
Joined: Mon Sep 30, 2019 2:38 pm

post

by takeshi4126 » Mon Sep 30, 2019 2:43 pm

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.