Skip to Content
author's profile photo Former Member
Former Member

Get URL of portal

Hello!

I have, seems like, simple question:

How to get url of portal ( http://mydomain:port /irj/portal/....), which see user?

(For example, portal server access by ip 10.18.0.1, but user in file 'hosts' have alias mydomain for this ip, accordingly have http://mydomain:port /irj/portal/... in address bar)

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 19, 2008 at 10:24 AM

    Hello Paul,

    Actually thing is that we can not access portal with its IP address so we save its Ip address with host name in drivers and then access it with its host name

    For eg if ur portal Ip Address is 10.18.0.1 and u have saved it with its Host name as hello and ur instance number of ur server is 01 then ur port numbre will be

    Port Number = 50000+100*Instance number

    Ie Port number will be 50100

    and host name willll be hello

    so whole URL to access ur portal will be

    http://hello:50100/irj/porttal

    Hope this will help u

    regards.

    Soni Vinit

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Paul,

      Please keep in mind that there is a long-running-war in opinion which server / port is reported by these methods when there is a proxy set in front of the portal. From my understanding (and I think this is backed up by the corresponding RFCs), the method should always return the server name/port how the original client uses it. Nevertheless, for example Apache and Tomcat both have the possibility to switch this to the proxies address. And Novell iChain for example does a dumb mix (name of the original client, port of the proxy, or vice versa, don't remember exactly).

      So use it with care... That's also the reason why for example SAP doesn't trust this method (and many software doesn't) and let's the admin fill in the end-users server name / port as a config.

      Hope it helps not to trap into a pit,

      best regards

      Detlev

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.