org.symbian.tools.wrttools.previewer/src/org/symbian/tools/wrttools/previewer/http/WebappManager.java
changeset 103 ef9f02ee3266
parent 90 278f8e3868ff
child 138 f66df1e99ba5
equal deleted inserted replaced
102:30e0796f3ebb 103:ef9f02ee3266
   123 	}
   123 	}
   124 
   124 
   125 	public static String getHost() {
   125 	public static String getHost() {
   126 		if (host == null) {
   126 		if (host == null) {
   127 			try {
   127 			try {
   128 				host = InetAddress.getLocalHost().getHostName();
   128 				host = InetAddress.getLocalHost().getHostName().toLowerCase();
   129 			} catch (Exception e) {
   129 			} catch (Exception e) {
   130 				host = "127.0.0.1";
   130 				host = "127.0.0.1";
   131 			}
   131 			}
   132 		}
   132 		}
   133 		return host;
   133 		return host;