Rule of thumb:
Never ever use machine name/server name is your code unless there is no other way to do it. Reason is simple (which is also obvious is your case) that it will simply not work when you move from one environment to another.
Now, to resolve your problem. We can do two things.
1.) If this is local (within your application) webservice that simply use a relative url. Something like
string tokenURL = GetApplicationUrl() + "/hmaled_emh/GetToken.aspx?system=3";
Where GetApplicationUrl() should return your application url. Shouldn't be difficult to write a fuction for this.
2.) If webservice is hosted somewhere else i.e. outside your application than
string tokenURL = "http://YOURDOMAINNAME/hmaled_emh/GetToken.aspx?system=3";