question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Question] Is DBeaver opening ports in LISTEN mode? What for?

See original GitHub issue

Just installed latest (6.2.4) version, but never checked before so might be something appening before as well. DBeaver opens LISTENING ports in IPv6, open to the world

tcp6       0      0 :::35073                :::*                    LISTEN      8562/java           
tcp6       0      0 127.0.0.1:38214         :::*                    LISTEN      8562/java           
tcp6       0      0 :::26541                :::*                    LISTEN      8562/java           

What are those for? Can’t they be opened on localhost only? Might it be PG debugger module maybe? If so, and whatever the answer, how do i prevent those world-listening ports to open?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
ctrlaltcacommented, Jan 12, 2021

I just started using DBeaver, nice piece of software. I can confirm that it opens 2 different TCP ports on my pc: 31592 and 46731. The startup log confirms that port 46731 is used by the RMI server; no info about the other port. I find it quite irresponsible for a software to open a tcp port to the whole world just to implement IPC. A small bug in the RMI server could lead to remote code execution while DBeaver is running.

1reaction
serge-ridercommented, Nov 4, 2019

I think it is RMI server. You can see it in startup log:

Starting RMI server at XXXX

It is used for intercommunication between dbeaver processes (e.g. when you start second dbeaver process to open sql file it connects to the running GUI and processing the call thru it). I don’t think that we can just disable it.

Does it do any harm? Perhaps we should limit IP address binding with 127.0.0.1 (I believe we already do this) or something like this. Any other ideas?

Read more comments on GitHub >

github_iconTop Results From Across the Web

DBeaver user guide
Opens the Driver Manager window that allows you to create, edit and delete drivers for databases. See Database Drivers for information about managing...
Read more >
DBeaver Forum • View topic - [DONE] oracle connection ...
Hmm, it is pretty strange problem. It shouldn't occur when you specify host/port and use direct connect. What Oracle server version do you...
Read more >
Cloud Spanner in DBeaver - Medium
Use DBeaver / JDBC to execute queries, DML and DDL on Cloud Spanner and Cloud Spanner Emulator. Covers batching, partitioned DML and ...
Read more >
Part 1: How to Install DBeaver on Linux Server and Connect to ...
H: Open DBeaver on a local Windows 10 machine · Step 1: Set the display variable with your Windows Machine IP and Port...
Read more >
Microsoft SQL Server Management Studio and DBeaver use ...
SQL editor is a tool that allows users to edit and execute SQL queries. ... example to allow SQL Server to listen on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found