![]() If the target IP in that message is as expected and your firewall rules are open, one likely cause is that you may be trying to connect to private IPs (for example, 10.* in one of. No route to host indicates a networking problem: there currently isn't a valid network route to communicate with the target IP address. But in the case that they are in two different networks with no routers in between you will need to route traffic through the server issuing the command.03.:27017 (X.X.X.X:27017) :: caused by :: No route to host. Next run the following command to forward port 5000 on the remote machine to port 3000 on the local machine.In the example above host and host2 can route traffic between them, either because they are on the same network or because there are routers in between that route the traffic. $ sudo systemctl restart sshd OR $ sudo service sshd restart. Next, you need to restart sshd to apply the recent change you made. Is the server running on host "192.168.1.125" and accepting.GatewayPorts yes. ![]() psql: could not connect to server: No route to host. I've added this to the pg_hba.conf file of server 1: host all all 192.168.1./24 trust.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |