Game Development Community

dns lookup failed: localhost

by jeepee · in Torque 3D Professional · 06/18/2010 (12:00 am) · 4 replies

Hee guys

We're building a demo game which uses a database connection (mysql). it loads profiles and information from the database. Everything works fine if the database is online.

But now i have to show the demo at a location where there's no internet. therefore i created a local apache and database server (using xammp) and it doesn't work anymore.

The website and database are working fine, but when i try to start the game it says:
Quote:
####### getDrupalUser:: test33 with ID test (*)
####### getDruaplUser:: GET http://localhost/evatool/webservices/getDrupalUser.php?drupalnaam=test33&drupalww=test (**)

DNS lookup failed: localhost/evatool

*this is because i'm using a drupal website and want to do a drupal user check
** the website is located at localhost/evatool and the folder webservices contain the scripts which make it possible to connect to the database.

again, i'd like to remember that everything works fine when a change the location from localhost/evatool to a internet location (evaluatietool.inthere.nl)

I'm not an DNS expert, i must admit. Some help would be nice :)

#1
06/18/2010 (1:41 am)
Does 127.0.0.1 work?
#2
06/18/2010 (4:06 am)
Something is wrong with your url parser.

Quote:DNS lookup failed: localhost/evatool

"localhost/evatool" is not a host name. I guess only localhost would work fine ;)
#3
06/18/2010 (4:13 am)
Check your windows\system32\drivers\etc\hosts file as admin and see if localhost is indeed mapped to 127.0.0.1.
#4
06/18/2010 (5:09 am)
the problem lies with that you have entered localhost/evaltool as the host name. it should be only localhost