Configure Klai to connect to a FileMaker server after migration

Problem: After moving FileMaker files to a new server, Klai could not connect to the files.

Solution: Verify that the required FileMaker gateway, such as the Data API or XML gateway, is enabled and that the Klai server card points to the new server. Use the server’s valid hostname/domain in the host address field rather than an incorrect IP address. If the site is reachable through WebDirect over HTTPS, port 443 is likely accessible, but the hostname must also match the SSL configuration. After correcting the host address, the Klai connection test succeeded.

Thread Attachments


Original Slack Thread

User U0CFW4MH2QM: I moved the fm files to another server. This new FM server uses OttoFMS. I can’t get my apps online can’t get a connection between the fm files and Klai. I Think a problem with API of Webhook. How can I resole this problem? (I’m not an expert but I want to learn)
User UBBJX2EHM: • Make sure gateway (data api or xml) is enabled
• make sure the server card in KS is pointing to the new server

User UBBJX2EHM: Start there
User UK4DV7RGF: There's nothing about OttoFMS that would prevent you from connecting to your Data API or XML from Klai. That’s most likely an irrelevant distraction.
User U0CFW4MH2QM: I pointed KS to the right server but the test went worng.
User UK4DV7RGF: Need more info. Which gateway? Are you sure it's enabled? Server is reachable from the internet on port 443? SSL is in place and valid?
User U0CFW4MH2QM: SSL is valid.  when i opens the file in webdirect it is working  how can i check if port 443 is reachable? (Sorry for my english I’m from the Netherlands)
User UK4DV7RGF: If you can connect from the public internet to WebDirect, then 443 must be open.

Which gateway are you using (xml or data api)? Are you sure it’s enabled?
User U0CFW4MH2QM: I think data API
User U0CFW4MH2QM: 
User UK4DV7RGF: Is it enabled on the server?
User U0CFW4MH2QM: 
User UK4DV7RGF: I can't reach that server and I find it unlikely that you have an SSL certificate for a bare IP address…
User UK4DV7RGF: Put the domain the host address field. 
User U0CFW4MH2QM: I rent that FMserver ..
User U0CFW4MH2QM: 
User UK4DV7RGF: 
User UK4DV7RGF: The IP address you have there is wrong, and even if it were right, it still would not work. You need to put the hostname there.
User U0CFW4MH2QM: Yep now the test working.
User U0CFW4MH2QM: I need to go now . thanks for so far.
User U0CFW4MH2QM: i go test onmonday
User UBBJX2EHM: and cant use SSL with an ip, must use a hostname
User UK4DV7RGF: Fun fact. You actually can get a valid/trusted SSL issued for a public IP address.
User UBBJX2EHM: hmmm
User UBBJX2EHM: I didnt know that
User UK4DV7RGF: Neither did I 
User UBBJX2EHM: do you just call the hostname the string of the ip lolol
User UK4DV7RGF: There's more to it. Issuer needs to support it. <https://letsencrypt.org/2025/07/01/issuing-our-first-ip-address-certificate|https://letsencrypt.org/2025/07/01/issuing-our-first-ip-address-certificate> 
User UBBJX2EHM: cool, so its new
User UBBJX2EHM: its a total bad ideas as they can folllow you though me thinks
User U0CFW4MH2QM: Hi, Finally I have a connection but now the system (after send mail to invite client) goes to the old location  <https://safetysystest.fmbetterforms.com/|safetysystest.fmbetterforms.com>  in stead of the new location <https://safetysys.clientportal.cloud/|safetysys.clientportal.cloud>
User U0CFW4MH2QM: How can i repair that?
User UBBJX2EHM: If your emails are going to the wrong url you can update your email sending script in the onAuthNotifier script
User UBBJX2EHM: The email comes from your system not from Klai
User U0CFW4MH2QM: Thanks, Yes the mail is send properly now. `
User U0CFW4MH2QM: But the next screen is empty. :disappointed:
User U0CFW4MH2QM: Is it possible for someone to take a look with me to get my app working?”
User U0CFW4MH2QM: Is it possible that a consult programmer can help.?
User UBBJX2EHM: Did you develop the system or someone else? I'm assuming they are not available? 


User U0CFW4MH2QM: Somebody else rebuild my FM application and connect it with FMbetterforms (Klai) but we are no longer working together.
User U0CFW4MH2QM: i scheduled a meeting for tuesday dec 1 18:30 (CET)
User U0CFW4MH2QM: Do i also need to instal the BE plugin on my local machine?
User UBBJX2EHM: The call is not to develop, but to see wha tyou broke when you moved your syste,. To save time and $ I suggest reviewing the Klai Academy lessons 1-4, they cover that issue probably