Page 1 of 1

Error Code 1 -Connection to server failed

Posted: Wed Nov 22, 2017 4:07 pm
by patels
I installed SoftEther Server and it works well.
On my client machine, after setting up the client VPN, initially, I was able to connect to the server.
But now I am not able to connect to the server.

I am getting the message which says,
"Error (Error Code 1):
Connection to the server failed. Check network connection and make sure that address and port number of destination server are correct"

As mentioned in the error message, I checked the address, port number, User Name, Password. Everything is correct.
I really do not know what else to do.

Need resolution to this issue.

Thanks for your help, in advance.
------------------------------------------------------------------------------
UPDATE: 23-Nov-2017

I have been able to identify the problem area.
The problem seems that my ISP is blocking the SoftEther in some way.
When I changed the ISP, I was able to connect to the VPN server without changing any parameters.

The problematic ISP is the 4G LTE internet provided by Jio in India.

I already have enabled the...
1) VPN over ICMP Server Function and
2) VPN over DNS Server Function (uses UDP port 53)

There should be certainly something I am missing, that need to be configured.

Thanks for the help.

Re: Error Code 1 -Connection to server failed

Posted: Thu Nov 23, 2017 4:42 am
by patels
Please see my Update dated 23-Nov-2017, in which I have identified the Problem Area

Re: Error Code 1 -Connection to server failed

Posted: Sun Nov 26, 2017 12:55 am
by acampeau
Please included client and server IP/port setup and what kind of connexion is used by the client to connect to the server.

Re: Error Code 1 -Connection to server failed

Posted: Thu Nov 30, 2017 6:12 am
by patels
acampeau wrote:
> Please included client and server IP/port setup and what kind of connexion
> is used by the client to connect to the server.

Yes, I am including 5555 port
The connection used is Direct TCP/IP Connection (No Proxy)
Further, I use VPN Azure Relay Service

Re: Error Code 1 -Connection to server failed

Posted: Mon Dec 11, 2017 7:48 am
by thisjun
VPN Azure supports only port 443.

Re: Error Code 1 -Connection to server failed

Posted: Wed Dec 13, 2017 6:57 am
by patels
Tried with Port 443, but did not work.

I thought Azure Relay Service takes out the trouble of setting the ports. Hence this should not be the problem area.

Re: Error Code 1 -Connection to server failed

Posted: Fri Jan 05, 2018 4:35 am
by thisjun
Is VPN server succeed to connect VPN Azure?
Is there any log when the VPN server connected?