GiddyTurkey39 Hmm I'm assuming that by default it cannot access that IP range.
Are you using virtual-box for the VM?
EDIT:
Can I assume the machine running the VM (a.k.a the host) can access the trains-server
?
Let me look into that and I’ll let you know
GiddyTurkey39 Just making sure, you ran ping IP
not ping ip:port
right ?
GiddyTurkey39 can you ping the server-address
(just making sure, this should be the IP of the server not 'localhost')
You'll have to figure out what's blocking the communication 😞
GiddyTurkey39
I would guess your VM cannot access the trains-server
, meaning actual network configuration issue.
What are VM ip and the trains-server IP (the first two numbers are enough, e.g. 10.1.X.Y 174.4.X.Y)
Well, first simply try to access the server using curl -XGET http://<server-address>:8008/debug.ping
to see if you can reach the server
At all? So you have a network issue - probably blocked by a firewall?
Are you running it from a new machine, or a new location (that might have some networking issues like FW configuration with regard to the Trains Server)?
Yeah, I’m trying to connect to my own server, and I installed trains-agent
on a vm. How could I diagnose the issue?
i ran ping <IP HERE>:8008
, it returnsping: <ip-here>:8008: Name or service not known
Hi GiddyTurkey39 , this usually happens when the wizard fails reaching the Trains Server, or if it reaches a different server than the one you're trying to connect to (the demo server, for example?)
The VM ip is 153.73.X.Y and the trains-server IP is 34.74.X.Y
You can configure the VM to use the host network (instead of creating a new subnetwork for the VM). In that case, you will notice they will both have the same IP address space
Yeah, the command is executed and nothing is returned.