The VM ip is 153.73.X.Y and the trains-server IP is 34.74.X.Y
Yeah, the command is executed and nothing is returned.
Let me look into that and I’ll let you know
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
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)?
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')
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?)
You'll have to figure out what's blocking the communication 😞
Yeah, I’m trying to connect to my own server, and I installed trains-agent on a vm. How could I diagnose the issue?
At all? So you have a network issue - probably blocked by a firewall?
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
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 ?
i ran ping <IP HERE>:8008 , it returnsping: <ip-here>:8008: Name or service not known
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)