the program was running after I installed it, but I am getting this error message now on MacBook pro

edited September 2017 in Using Processing

Your computer is not properly mapping 'localhost' to '127.0.0.1', which prevents sketches from working properly because 'localhost' is needed to connect the PDE to your sketch while it's running. If you don't recall making this change, or know how to fix it: https://www.google.com/search?q=add+localhost+to+hosts+file+macosx

So how to fix this issue?

Tagged:

Answers

  • And what does your hosts file look like?

  • My hostfile says my localhost is mapped to "fe80::1%lo0" instead of "127.0.0.1", so my sketches won't run. Should I change it? I don't know what I'm doing, but it seemed to work for this guy here: https://github.com/processing/processing/issues/3123

  • Okay so I changed it the localhost to 127.0.0.1 and now the sketches run. On terminal it's sudo nano /etc/hosts to find the file to change. Please keep in mind that I am a total novice when it comes to anything regarding networks, so perhaps it would be better to take some proper advice from someone who knows what they're doing to fix this issue.

  • "fe80::1%lo0"

    just fyi: this is an ipv6 address whereas 127.0.0.1 is an ipv4 address. i think the ipv6 address is valid (the processing issue appears to treat it as an error, which is a bit poor).

Sign In or Register to comment.