Unable to use Julia in Atom : IOError: connect: connection timed out (ETIMEDOUT)

Recently I came across some problems when using Juno:

Julia has exited.
Press Enter to start a new session.
Starting Julia...
ERROR: LoadError: IOError: connect: connection timed out (ETIMEDOUT)
Stacktrace:
 [1] try_yieldto(::typeof(Base.ensure_rescheduled), ::Base.RefValue{Task}) at .\task.jl:517
 [2] wait() at .\task.jl:592
 [3] wait(::Base.GenericCondition{Base.Threads.SpinLock}) at .\condition.jl:104
 [4] stream_wait(::Sockets.TCPSocket, ::Base.GenericCondition{Base.Threads.SpinLock}) at .\stream.jl:47
 [5] wait_connected(::Sockets.TCPSocket) at .\stream.jl:332
 [6] connect(::Sockets.TCPSocket, ::Sockets.IPv4, ::Int64) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Sockets\src\Sockets.jl:470
 [7] connect at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Sockets\src\Sockets.jl:454 [inlined]
 [8] #connect#17(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Atom.connect), ::Sockets.IPv4, ::Int64) at C:\Users\chenningcong\.julia\packages\Atom\BVajq\src\comm.jl:106
 [9] connect at C:\Users\chenningcong\.julia\packages\Atom\BVajq\src\comm.jl:106 [inlined]
 [10] #connect#22 at C:\Users\chenningcong\.julia\packages\Atom\BVajq\src\comm.jl:116 [inlined]
 [11] connect(::Int64) at C:\Users\chenningcong\.julia\packages\Atom\BVajq\src\comm.jl:116
 [12] top-level scope at C:\Users\chenningcong\.atom\packages\julia-client\script\boot_repl.jl:38
 [13] include at .\boot.jl:328 [inlined]
 [14] include_relative(::Module, ::String) at .\loading.jl:1094
 [15] include(::Module, ::String) at .\Base.jl:31
 [16] exec_options(::Base.JLOptions) at .\client.jl:295
 [17] _start() at .\client.jl:464
in expression starting at C:\Users\chenningcong\.atom\packages\julia-client\script\boot_repl.jl:1

It seems that Julia can’t connect to Atom, but REPL still displayed, I can still type and eval codes in REPL. But Ctrl+C and Ctrl+D won’t work, and I can’t use Ctrl+enter to eval codes in files.

julia> versioninfo()
Julia Version 1.2.0-rc1.0
Commit 7097799cf1 (2019-05-30 02:22 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, skylake)

OK,I have solved this problem by disabled firewall…It seems that Atom get blocked behind the firewall…