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.

Server not listening for JDBC connections

Featured Replies

  • Newbies

I've written an application which uses JDBC to connect to a FMP database. It works fine on my test system (shared via JDBC in FMP9 on Windows), but I can't get it to connect to the live database, which is running in FMP9 Advanced Server on MacOS X.

Closer investigation (with netstat) indicates that the FMP server is not listening on port 2399 for incoming connections. I have read as much of the documentation as I can find, and consequently have:

  • Enabled plugins in the server
  • Enabled ODBC/JDBC in the database
  • Added the the xDBC permissions to all users defined in the database
  • Reuploaded the database to the server
  • Restarted the server

None of these has made the server start listening on port 2399.

What am I doing wrong?

When you say you've enabled ODBC/JDBC on the database, is that the .fp7 file? Have you turned on ODBC sharing in the FM Server options?

Edited by Guest
Additional thought

  • Author
  • Newbies

Yes, I've enabled ODBC/JDBC in the database.

The server shows ODBC/JDBC as ticked next to the database in the database listing.

Like I said, this database works fine with JDBC in the desktop version of FMP9 on my test/development system. It's just the server I can't persuade to work.

Edited by Guest
Answered the other point too

A firewall issue?

  • Author
  • Newbies

No, I'm pretty sure it's not a firewall issue. I'm working purely on localhost, and I'm checking via netstat: there is nothing listening on port 2399 at all.

Unless a firewall is capable of preventing FMP from even opening a port, without FMP reporting an error (which it isn't doing), this isn't a firewall issue.

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.