From kde-commits Tue Aug 24 02:20:49 2004 From: Nikolas Zimmermann Date: Tue, 24 Aug 2004 02:20:49 +0000 To: kde-commits Subject: kdenonbeta/icecream/icecream/client Message-Id: <20040824022049.1F8FA903E () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=109331406110182 CVS commit by wildfox: Use 127.0.0.1 instead of localhost - we sat nearly two hours in front of Max Howell's laptop trying to figure out why the heck icecream didn't work.. -> the hosts file somehow contained an entry with a different ip for 'localhost'; this would avoid such a problem in future... M +1 -1 main.cpp 1.35 M +1 -1 remote.cpp 1.73 --- kdenonbeta/icecream/icecream/client/main.cpp #1.34:1.35 @@ -157,5 +157,5 @@ int main(int argc, char **argv) bool local = analyse_argv( argv, job ); - Service *serv = new Service ("localhost", 10245); + Service *serv = new Service ("127.0.0.1", 10245); MsgChannel *local_daemon = serv->channel(); if ( ! local_daemon || !local_daemon->protocol ) { --- kdenonbeta/icecream/icecream/client/remote.cpp #1.72:1.73 @@ -450,5 +450,5 @@ maybe_build_local (MsgChannel *scheduler job.setJobID( job_id ); job.setEnvironmentVersion( "__client" ); - Service *serv = new Service("localhost", port); + Service *serv = new Service("127.0.0.1", port); MsgChannel *cserver = serv->channel(); if ( !cserver->protocol ) // very unlikely as we talked before with him