Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7703175
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T23:23:52+00:00 2026-05-31T23:23:52+00:00

I use H2 Database as DBMS from a remote computer,so I enabled remote access

  • 0

I use H2 Database as DBMS from a remote computer,so I enabled remote access from a browser as follows:

webAllowOthers=true

but when i try to connect to the server from my java application i get this error from H2:

remote connections to this server are not allowed

screenshot:
enter image description here

And also already looking into the code Analyzer with (Error Code: 90117):

REMOTE_CONNECTION_NOT_ALLOWED = 90117

The error with code 90117 is thrown when trying to connect to a TCP server from another machine, if remote connections are not allowed. To allow remote connections, start the TCP server using the option -tcpAllowOthers as in:

java org.h2.tools.Server -tcp -tcpAllowOthers

Or, when starting the server from an application, use:
Server server = Server.createTcpServer(“-tcpAllowOthers”);
server.start();

I do not understand how to activate the tcpAllowOthers, it does not exist in .h2.server.properties ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T23:23:53+00:00Added an answer on May 31, 2026 at 11:23 pm

    There are two different server:

    • the Web Console server that is used to run the H2 Console tool (the GUI tool). It can be accessed by a browser only.
    • the TCP server that allows to connect an application that uses JDBC, when using the client/server mode (jdbc:h2:tcp://localhost/~/test)

    The file .h2.server.properties is only used for the Web Console server. It only supports webAllowOthers=true. This file is not used by the TCP server.

    To enable remote access to the TCP server, you need to start the TCP server using the option -tcpAllowOthers. To start both the Web Console server (the H2 Console tool) and the TCP server with remote connections enabled, you would need to use:

    java -jar h2*.jar -web -webAllowOthers -tcp -tcpAllowOthers -browser
    

    (this also starts a browser)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What methods to use a database from Clojure are there? I know from Clojure
I want to use Access database with query for pivot table in Excel. How
I want to connect to a database on a host except localhost, my DBMS
I'm attempting to use Database Engine Tuning Advisor to tune my database. From the
I want to use database in my android project. I write codes but I
Show Database Use database show tables Describe <table> All good and well, but is
I want to use the database access objects to access a table in my
MySQL uses the USE database_name to change the active database. Does that work on
I'm working on an email solution in SQL Server ONLY that will use Database
How can I use a database and PHP sessions to store a user's shopping

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.