Jul 19th, 2011, 10:47 AM
how to find server name/host
Well i want to know is there option to find out server name or host on which my appliaction is running.
my production application is running on few servers and i want to know on which server i am.
is there any way when to find out that information ?
Jul 20th, 2011, 09:10 AM
You can find out "some" server name by looking at a HttpServletRequest. But this tells you only, what URL your client has used, which may differ from the actual machine name.
Tags for this Thread