[ERROR] Channel registration failed

I keep getting this error when I build lighting.
[ERROR] Channel registration failed. Reason: No such host is known , Callstack: at System.Net.Dns.GetAddrInfo(String name) at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6) at System.Net.Dns.GetHostEntry(String hostNameOrAddress) at System.Runtime.Remoting.Channels.CoreChannel.GetMachineName() at System.Runtime.Remoting.Channels.CoreChannel.GetMachineIp() at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.SetupMachineName() at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel…ctor(Int32 port) at Agent.AgentApplication.Main(String[] args)

I Re-installed the engine and the launcher. I searched on other forms and I can’t find an answer.
(I also got the same error on multiple versions of UE4)

The port(8008 and 8009) is blocked by another process.Use TCPView to identify which process is using this local port and exit it.The problem will be solved.

TCPView

I have the same error : channel registration failed. reason: no such host is known.
I have UE source 4.26.0, build successfully and UEEditor being launched successfully. but when I try to build a sample Game it would stuck at (Starting up Swarm Connection (100%)) and SwarmAgent keep throwing this exception :channel registration failed. reason: no such host is known.

  • Working on UE source 4.26.0
  • I have checked the TCPView → could not see any process holding 8008 or 8009.
  • I have two versions of .NET frameworks 4.6.1 & 4.6.2.

Anybody have working resolution ?