5 Replies Latest reply: Dec 25, 2013 4:48 PM by Qurate
Plazmotech Level 1 Level 1 (0 points)

Hey! I'm trying to compile some C++ code in XCode. I'm getting this error: invalid host string: 'localhost'


So I searched on the web. I found it was probably in error in hosts, so I checked it. But, my hosts was perfect! Nothing wrong with it! Here's my hosts file:



# Host Database


# localhost is used to configure the loopback interface

# when the system is booting.  Do not change this entry.

##       localhost broadcasthost

::1             localhost

fe80::1%lo0     localhost



XCode, OS X Mountain Lion (10.8.2)