开发者

get server ip in java (Struts)

i want to get ip server where my tomcat is execute in java (Stru开发者_运维百科ts).?


InetAddress.getLocalHost().getHostAddress()

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜