Skip to Content

Replace ip with hostname

Hello All,

I am working in ides system some odata project. When I execute it in sap gateway client it's working properly. But the problem when calling it from the browser . It works properly when I use the ip address instead of hostname. Where can I change hostname instead of ip.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jul 19, 2020 at 11:19 AM

    Hi Naveen,

    as Bhargav wrote you should try to use the Full Qualified Hostname.

    There is also a system profile parameter gw/alternative_hostnames available that might help you as well.

    I am using it in my test landscapes that are cloned systems. All have the same hostname, but this cannot be resolved by our internal DNS. But the responses in XML usually contain this hostname.

    If you configure

    gw/alternative_hostnames = <IP adress of your clone>

    in DEFAULT.PFL then the system will respond such that the URL's in the responses would also contain the IP.

    So maybe maintaining the hostname that you are using in the profile might also help.

    See also the official documentation for that parameter

    https://help.sap.com/saphelp_scm50/helpdata/en/41/d7de5fd74b4040b77f808341c89bb0/content.htm?no_cache=true

    Regards,

    Andre

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 19, 2020 at 05:03 AM

    Hi Naveen,

    Try using fqdn. Also please check whether you have maintain DNS entry correctly or not.

    You can try to add local hostfile entry of hostname against the IP and try

    Regards

    Bhargav Bhatt

    Add a comment
    10|10000 characters needed characters exceeded

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.