Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Kerri Gonzalez   on Jul 22 In Java Category.

  
Question Answered By: Dinh Tran   on Jul 22

I've tried it on another pc, and it works, kinda. Its returning
localhost/127.0.0.1
If i use a.getHostName()) inside my client javascript, I can get just
localhost, but that isn't my computername.

I understand what localhost is, and why that is referring to
127.0.0.1, so don't explain that old news to. ...but please explain
why I get localhost and not the actual computername, and how to get
the correct computername.

Share: 

 

This Question has 2 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on trying to return the computername using applet Or get search suggestion and latest updates.


Tagged: