Page 1 of 1

Always Error code : 1 when connect to the server

Posted: Sun Jul 08, 2018 6:41 pm
by Olee
Hello,

Just installed Softether server on my windows machines (win 7, xp). However, every time I would like to connect to the server, even in the same subnet of my home, I got the message of :

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.

I can ping the server, but not vpn connection get set.

It was very straight forward for the setup of both server and client, can some one help me out?

Thanks!

Re: Always Error code : 1 when connect to the server

Posted: Mon Jul 09, 2018 11:14 pm
by centeredki69
On the server did you forward prots on your router to the Host running the softether server software?

NAT tranversal will sometimes work without the port forward but some times not.

What address did you put into the client "HOST name" field for access to the server? did you choose the correct port and if so could you see your virtual HUB in the drop down below ports.

Re: Always Error code : 1 when connect to the server

Posted: Wed Jul 11, 2018 2:27 am
by Olee
Thanks for the message.

I tried the setup in the same subnet and it didn't work.

For host, I tried inside IP address. My server and client are in the same subnet.

The ports are 443, 993, 1194, 5555, I tried all of them and no luck.

I don't see the HUB in the drop down list. I filled it up myself. I can ping the server address, but can't connect to the host. Is that because of the windows firewall setup? I have tried the VPN server on Window 7, Windows xp, and Windows server 2003, none works.

Really confusing.

Re: Always Error code : 1 when connect to the server

Posted: Wed Jul 11, 2018 9:43 am
by centeredki69
Hello,
You said the ports are 443,993,1194,5555.

In your router/Firewall. Did you try forwarding one of these ports to the Host Computer running the Softether software ?

Re: Always Error code : 1 when connect to the server

Posted: Wed Jul 11, 2018 4:46 pm
by Olee
Thanks

I tried this in the same subnet. Do I still need to forward the ports to the server form my router?

I only tried server in Windows machines so I may assume this is a firewall issue?

Re: Always Error code : 1 when connect to the server

Posted: Wed Jul 11, 2018 5:07 pm
by centeredki69
The server software should have opened the ports on the Windows firewall. Disable the windows firewall temperately and see if it works.

On the CLIENT machine what did you enter for the Host address?

What port did you choose?

What did you enter for the Virtual HUB name?

Re: Always Error code : 1 when connect to the server

Posted: Fri Jul 13, 2018 3:05 am
by Olee
Thanks

I disabled the windows FW and no luck.

Then, as the final effort, I installed the server on my linux mint server and did the config by vpncmd. From Windows I use Management tool to remote config the SE server more.

Then, I CAN connect to the server using my windows client.

This might be a softether windows server issue.

Will keep on trying if time allows.

Re: Always Error code : 1 when connect to the server

Posted: Thu Aug 09, 2018 4:42 am
by thisjun
Could you try to install SoftEther VPN Client into the host of the VPN server and connect it to the VPN server?

Is there any security software on the client or server?

Re: Always Error code : 1 when connect to the server

Posted: Tue May 28, 2019 6:19 pm
by DCraft
This one has me stumped, would appreciate some input. I cannot connect from one of my networks to the server without any issues. Goes right through my FW however I have tried to connect from another network to it actually 2 other networks to no avail.. It simply does not want to connect. I could understand if I was not able to connect at all from any networks however to be able from one and not from the other makes 0 sense.. Yes these are also remote sites..

Signed,
Puzzled

Re: Always Error code : 1 when connect to the server

Posted: Tue Jun 11, 2019 7:57 am
by thisjun
Could you explain more?

Re: Always Error code : 1 when connect to the server

Posted: Thu Jun 18, 2020 8:41 am
by rolee
DCraft wrote:
Tue May 28, 2019 6:19 pm
This one has me stumped, would appreciate some input. I cannot connect from one of my networks to the server without any issues. Goes right through my FW however I have tried to connect from another network to it actually 2 other networks to no avail.. It simply does not want to connect. I could understand if I was not able to connect at all from any networks however to be able from one and not from the other makes 0 sense.. Yes these are also remote sites..

Signed,
Puzzled
This is proof that it is just an internet connection issue from your other network. Because you already have proof that it can connect from one external network. The only reason you would not connect from another would be because of internet connection issues which are key to successful VPN connections not only SoftEther

Re: Always Error code : 1 when connect to the server

Posted: Wed Mar 10, 2021 2:31 pm
by brunosilva
I'm having this problem for two users.
  • I have many users connecting successfully using SoftEgher VPN client, andfrom different coutries.
  • But I have two users here in Portugal that cannot connect from their homes.
  • I already checked and yes, they have Internet connection.
  • I took the laptop from one if these users to my home and I could connect successfully.
  • Obviously, the only explanation is that their home routers from Internet provider have some firewall that is blocking the connection.
  • For one of them, I accessed his PC remotelly and disabled his home router firewall, but still not working.
So, does anyone have any suggestions?

Re: Always Error code : 1 when connect to the server

Posted: Wed Mar 10, 2021 4:04 pm
by eddiewu
brunosilva wrote:
Wed Mar 10, 2021 2:31 pm
I'm having this problem for two users.
  • I have many users connecting successfully using SoftEgher VPN client, andfrom different coutries.
  • But I have two users here in Portugal that cannot connect from their homes.
  • I already checked and yes, they have Internet connection.
  • I took the laptop from one if these users to my home and I could connect successfully.
  • Obviously, the only explanation is that their home routers from Internet provider have some firewall that is blocking the connection.
  • For one of them, I accessed his PC remotelly and disabled his home router firewall, but still not working.
So, does anyone have any suggestions?
Have you checked the DNS? Does it work if you specify the server address in IP?

Re: Always Error code : 1 when connect to the server

Posted: Wed Mar 10, 2021 4:48 pm
by brunosilva
eddiewu wrote:
Wed Mar 10, 2021 4:04 pm
brunosilva wrote:
Wed Mar 10, 2021 2:31 pm
I'm having this problem for two users.
  • I have many users connecting successfully using SoftEgher VPN client, andfrom different coutries.
  • But I have two users here in Portugal that cannot connect from their homes.
  • I already checked and yes, they have Internet connection.
  • I took the laptop from one if these users to my home and I could connect successfully.
  • Obviously, the only explanation is that their home routers from Internet provider have some firewall that is blocking the connection.
  • For one of them, I accessed his PC remotelly and disabled his home router firewall, but still not working.
So, does anyone have any suggestions?
Have you checked the DNS? Does it work if you specify the server address in IP?
You mean the "VPN Server Hostname"? If so, yes. Actually I have two SoftEther VPN Servers in different subnets, one with SoftEther DNS and other with our External IP address. Both of the servers works for most of our users, but none of them works for these two users.

Re: Always Error code : 1 when connect to the server

Posted: Thu Mar 11, 2021 5:17 am
by eddiewu
You need to run wireshark.

Re: Always Error code : 1 when connect to the server

Posted: Fri Mar 12, 2021 8:07 am
by solo
brunosilva wrote:
Wed Mar 10, 2021 4:48 pm
...and other with our External IP address. Both of the servers works for most of our users, but none of them works for these two users.
The one with ext IP is directly there or behind a router? If the latter, then are you forwarding port 443 or something else?

Please ask the users to connect to this SoftEther test hub:

Code: Select all

VPN Server hostname:	vpn.packetix.net
VPN Server port number:	443
Virtual Hub name:	DIAGNOSTIC
user name:		test
password:		test
This test hub is not interconnected anywhere and only virtual DHCP is functional.