Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Open Remote Access of H2 Database #535

Open
9k001 opened this issue Dec 4, 2024 · 0 comments
Open

How to Open Remote Access of H2 Database #535

9k001 opened this issue Dec 4, 2024 · 0 comments
Assignees

Comments

@9k001
Copy link

9k001 commented Dec 4, 2024

I have this problem now.
During my test, I set the Realm of the admin account incorrectly, which prevented me from accessing nexus through the web using the account password. So I decided to try to modify the h2 database to solve this problem.
The difficulty I currently encounter is that when I use nexus deployed by docker, I need to enable h2 http access. After I enabled http listening and port, I found that I can only access it locally, and I can only access it remotely.
The relevant setting codes are as follows

# vi sonatype-work/nexus3/etc/nexus.properties
nexus.h2.httpListenerEnabled=true
nexus.h2.httpListenerPort=1234

Question1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants