cancel
Showing results for 
Search instead for 
Did you mean: 

SFTP Adapter configuration query?

nilambari
Explorer
0 Kudos

Hello All,

While configuring the SFTP adapter in PI7.4, can we use a web based address of the SFTP server instead of the actual IP address of the SFTP server in the SERVER field??

Is this a feasible option??

Thanks,

Regards,

Nilambari

Accepted Solutions (0)

Answers (2)

Answers (2)

naveen_chichili
Active Contributor
0 Kudos

Hi Nilambari,

Yes, it is feasible you can use it.

Regards,

Naveen

engswee
Active Contributor
0 Kudos

Hi Nilambari

What do you mean by "web-based address"? Do you mean hostname, i.e. myserver.mycompany.com? If yes, then the answer is you can. It's not compulsory to use the numeric-based IP address only.

Rgds

Eng Swee

nilambari
Explorer
0 Kudos

Hello Swee,

Thanks for the response

Yes, i was referring to the hostname. I did try to use it, however getting "UnknownHostException".

Do you rekon what could be the issue?

Regards,

Nilambari

engswee
Active Contributor
0 Kudos

Hi Nilambari

It looks like the hostname is not recognized by your DNS server. You might need to get your Basis team to check on this.

The easiest way is to logon to the OS of the PI server and do a ping command:


ping myserver.mycompany.com

If it does not work, then try to ping using the IP address directly.

If ping by IP is successful but ping by hostname is not, then you need to get your network team to sort out the hostname resolution by the DNS server.

Or alternatively ask Basis to add the hostname resolution using a host file.

Rgds

Eng Swee

Message was edited by: Eng Swee Yeoh

naveen_chichili
Active Contributor
0 Kudos

Hi Nilambari,

Did you try using FQDN?

Regards,

Naveen