Results 1 to 2 of 2

Thread: how to find server name/host

  1. #1
    Join Date
    Jan 2011
    Posts
    10

    Default 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

  2. #2
    Join Date
    Jan 2010
    Posts
    6

    Default

    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
  •