cancel
Showing results for 
Search instead for 
Did you mean: 

Replace ip with hostname

0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Andre_Fischer
Product and Topic Expert
Product and Topic Expert

Hi Naveen,

as bhargav.bhatt 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_cach...

Regards,

Andre

bhargav_bhatt
Active Participant
0 Kudos

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