M
Merhawi Fissehaye
I am a beginner and I wanted to see how network programs are written in Ruby and I tried a sample Ruby code I found on the internet. There are two programs server.rb running in the background and client.rb trying to connect to my server program at the port number specific to the server program.
I found the following error when running client.rb :
client.rb:6:in 'initialize' : No connection could be made because the target machine actively refused it. - connect(2) (Errno::ECONNREFUSED)
from client.rb:6:in 'open'
from client.rb:6:in '<main>'
I am running the program from DOS
I found the following error when running client.rb :
client.rb:6:in 'initialize' : No connection could be made because the target machine actively refused it. - connect(2) (Errno::ECONNREFUSED)
from client.rb:6:in 'open'
from client.rb:6:in '<main>'
I am running the program from DOS