org.symbian.tools.wrttools.previewer/src/org/symbian/tools/wrttools/previewer/http/WebappManager.java
equal
deleted
inserted
replaced
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; |