@Quadraxas: Your problem is the poll loop. The poll function MUST be called every frame because this function handles all internal stuff. If you put this into the poll loop: "while(enet_get_clientid()==-1) wait(1);" It will only call the poll function once. After one call the connection can't be asstablished! => there won't be a connection!
To solve this problem put "while(enet_get_clientid()==-1) wait(1);" into another function.
localhost and 127.0.0.1 should work the same way... Please, try changing the problem mentioned above and try it again with 127.0.0.1. Post here if it still doesn't work!
@cerberi_croman: Thanks, I will add this to the manual!
@Sajeth: Thanks for this great offer!

I will contact you after I finished the homepage!