-
Jul 19th, 2011, 10:47 AM
#1
how to find server name/host
Hi everyone.
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 ?
thanks.
Josip
-
Jul 20th, 2011, 09:10 AM
#2
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules