Why Node.connect failing?

Is it the same cookie and have you checked your firewall?

  • What should I check exactly, I can see that the firewall is turned off

Is epmd running on the host you are trying to connect to? Does connect return instantly or does some time pass?

  • If I run epmd -names both computers I have a success response:

Computer 1:


> epmd -names
epmd: up and running on port 4349 with data:
name one at port 9000

Computer 2:


> epmd -names
epmd: up and running on port 4349 with data:
name two at port 9000

With this I can see that both epmd’s are running in the same port, and both apps are running also in the same port.

Are you able to create the connection the other way around?

  • No, I tried both directions

Have you checked if the IPs are actually correct?

  • Yes, both IP’s are correct

Are you able to otherwise initiate connections between those computers (eg. SSH, ping, telnet, HTTP, RDP, VNC)?

  • I did this:

ping 192.168.0.1
PING 192.168.1.68 (192.168.0.1): 56 data bytes
64 bytes from 192.168.0.1: icmp_seq=0 ttl=64 time=105.282 ms
64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=3.750 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=2.611 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=64 time=2.152 ms
64 bytes from 192.168.0.1: icmp_seq=4 ttl=64 time=7.478 ms
64 bytes from 192.168.0.1: icmp_seq=5 ttl=64 time=10.761 ms

I can guess that both computers are seeing each other, but I’m not sure.

Quick question, I’m assuming that because both computers are connected to the same Wireless network this should work, I’m I wrong? should the computers be connected by cable or something like that?

thanks