TheFoundryVisionmongers / nuke-ML-server

A Nuke client plug-in which connects to a Python server to allow Machine Learning inference in Nuke.
Apache License 2.0
135 stars 34 forks source link

Resolve hostname to IP #27

Open ldmoser opened 3 years ago

ldmoser commented 3 years ago

When I type the name of my machine, or "localhost" in the "host" Input for the MLClient node it fails to connect giving me the error message: Hostname is invalid

If I type the typical localhost IP 127.0.0.1 it fails with the message: Could not connect to server. Please check your host / port numbers.

It will ONLY work if I type the IP address returned by the command line: hostname -I | awk '{print $1}'

It would be great to resolve the host name.