I am new to socket programming in ruby and am having problems with a
very simple server when I attempt to create a TCPServer.
The error “The requested address is not valid in its context. - bind(2)
(Errno::EADDRNOTAVAIL)” is reported when my code executes the line:
@server = TCPServer.new(“192.168.1.67”,4313 )
The code is running on “192.168.1.68”. Both “192.168.1.68” and
“192.168.1.67” are on the same wireless network. The router does not
have port fowarding enabled (I have been told that it is not necessary
for internal communication).
I am able to ping “192.168.1.67” from “192.168.1.68”, as well as, get
Any help would really be apreciated.