Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Communication Error (7): unable to connect to host

Featured Replies

I have the Filemaker php api installed on an IIS server running windows 2003 server. When I try to run my app I get the following error:

Communication Error (7): unable to connect to host

at this line of code:

$Location_row = current($Location_result->getRecords());

I also tried the catalog_example and when tried to show all records the following errors occurred:

Warning: session_start() [function.session-start]: open(C:PHPsessiondatasess_dc7b9d7a06ac2af3156755e7a25a9d62, O_RDWR) failed: No such file or directory (2) in C:Inetpubwwwrootfmview.php on line 19



Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:Inetpubwwwrootrecordlist.php:3) in C:Inetpubwwwrootfmview.php on line 19



Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:Inetpubwwwrootrecordlist.php:3) in C:Inetpubwwwrootfmview.php on line 19



    * Home

    * Find Records

    * Show All Records

    * View Record List

    * Add Record



An Error Occurred!



Error: Unknown error



Message: Communication Error: (22) The requested URL returned error: 400

Is there something missing in the configuration?

Lol, figured you'd try here too eh?

Yeah I recommend you forget the catalog example, its frankly quite useless for anything.

Anyway, as I said, I would check your FMSA config rather than anything else.

Where is FMSA relative to your IIS box compared to where your FMSA was relative to whatever you were running before.

  • Author

FMSA is configured on a second box. Using the web admin console I was able to enter the IP address of the second box and I assume it configured correctly. I am not on site, but I think I was able to see the databases setup through IWP. I will double check.

Any other suggestions for what to check specifically?

Lol, lets just keep the discussion at fmwebschool, saves me posting everything twice.

But essentiallly.. Your host name should be the ip of your FMSA relative to your IIS box.. i.e. if you can access your FMSA box from your IIS box using the IP 123.123.123.123 that should be your hostname variable.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.