damob-byun / WireGuardNTSharp

WireGuard Simple Windows Cli and WireGuard NT Wrapper for C#(Csharp) with P/Invoke
GNU General Public License v2.0
46 stars 5 forks source link

Can't run #5

Open shaiful73 opened 2 months ago

shaiful73 commented 2 months ago

OpenAdapter Fail And Now Start Create... : 1168 Unhandled exception. System.Net.Sockets.SocketException (11001): No such host is known. at System.Net.Dns.GetHostEntryOrAddressesCore(String hostName, Boolean justAddresses, AddressFamily addressFamily, ValueStopwatch stopwatch) at System.Net.Dns.GetHostEntry(String hostNameOrAddress, AddressFamily family) at System.Net.Dns.GetHostEntry(String hostNameOrAddress) at WireGuardNT_PInvoke.Adapter.ParseConfFile(String[] lines, WgConfig& wgConfig) in C:\Devloper\WireGuardNTSharp\WireGuardNT-PInvoke\Adapter.cs:line 188 at WireGuardCli.Program.Main(String[] args) in C:\Devloper\WireGuardNTSharp\WireGuard-Cli\Program.cs:line 118

damob-byun commented 1 month ago

It looks like you didn't write the host address correctly or it's a DNS issue. Try writing the IP address in the address line of your config file