Always Error code : 1 when connect to the server
-
- Posts: 4
- Joined: Sun Jul 08, 2018 6:38 pm
Always Error code : 1 when connect to the server
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!
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!
-
- Posts: 329
- Joined: Wed Sep 18, 2013 1:49 pm
Re: Always Error code : 1 when connect to the server
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.
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.
-
- Posts: 4
- Joined: Sun Jul 08, 2018 6:38 pm
Re: Always Error code : 1 when connect to the server
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.
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.
-
- Posts: 329
- Joined: Wed Sep 18, 2013 1:49 pm
Re: Always Error code : 1 when connect to the server
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 ?
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 ?
-
- Posts: 4
- Joined: Sun Jul 08, 2018 6:38 pm
Re: Always Error code : 1 when connect to the server
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?
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?
-
- Posts: 329
- Joined: Wed Sep 18, 2013 1:49 pm
Re: Always Error code : 1 when connect to the server
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?
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?
-
- Posts: 4
- Joined: Sun Jul 08, 2018 6:38 pm
Re: Always Error code : 1 when connect to the server
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.
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.
-
- Posts: 2458
- Joined: Mon Feb 24, 2014 11:03 am
Re: Always Error code : 1 when connect to the server
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?
Is there any security software on the client or server?
-
- Posts: 3
- Joined: Tue May 28, 2019 6:14 pm
Re: Always Error code : 1 when connect to the server
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
Signed,
Puzzled
-
- Posts: 2458
- Joined: Mon Feb 24, 2014 11:03 am
Re: Always Error code : 1 when connect to the server
Could you explain more?
-
- Posts: 2
- Joined: Thu Mar 19, 2020 4:55 pm
Re: Always Error code : 1 when connect to the server
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 SoftEtherDCraft wrote: ↑Tue May 28, 2019 6:19 pmThis 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
-
- Posts: 5
- Joined: Tue Feb 02, 2021 3:54 pm
Re: Always Error code : 1 when connect to the server
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.
-
- Posts: 286
- Joined: Wed Nov 25, 2020 9:10 am
Re: Always Error code : 1 when connect to the server
Have you checked the DNS? Does it work if you specify the server address in IP?brunosilva wrote: ↑Wed Mar 10, 2021 2:31 pmI'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.
So, does anyone have any suggestions?
- For one of them, I accessed his PC remotelly and disabled his home router firewall, but still not working.
-
- Posts: 5
- Joined: Tue Feb 02, 2021 3:54 pm
Re: Always Error code : 1 when connect to the server
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.eddiewu wrote: ↑Wed Mar 10, 2021 4:04 pmHave you checked the DNS? Does it work if you specify the server address in IP?brunosilva wrote: ↑Wed Mar 10, 2021 2:31 pmI'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.
So, does anyone have any suggestions?
- For one of them, I accessed his PC remotelly and disabled his home router firewall, but still not working.
-
- Posts: 286
- Joined: Wed Nov 25, 2020 9:10 am
Re: Always Error code : 1 when connect to the server
You need to run wireshark.
-
- Posts: 1433
- Joined: Sun Feb 14, 2021 10:31 am
Re: Always Error code : 1 when connect to the server
The one with ext IP is directly there or behind a router? If the latter, then are you forwarding port 443 or something else?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.
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