-
Notifications
You must be signed in to change notification settings - Fork 838
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
WSL 2.0: networkingMode=mirrored
docker-ce oracle db container connection timeout
#12419
Comments
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The script will output the path of the log file once done. If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here Once completed please upload the output files to this Github issue. Click here for more info on logging View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Open similar issues:
Closed similar issues:
|
Diagnostic information
|
Diagnostic information
|
Windows Version
Microsoft Windows [Version 10.0.26100.2605]
WSL Version
2.4.8.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.167.4-microsoft-standard-WSL2
Distro Version
Ubuntu 24.04.1 LTS
Other Software
docker-ce (systemd service): 27.4.1, build b9d17ea
Oracle DB container: 19.3.0.0.0
Repro Steps
Run docker container based on
container-registry.oracle.com/database/enterprise:19.3.0.0-slim
with port mapping -p1522:1521
. Connect to the DB with JDBC driverjdbc:oracle:thin:@localhost:1522:DBNAME
.Expected Behavior
Connecting to an oracle db container with
localhost
instead of specific ip from windows host should work as any other db container (running docker-ce under systemd).Actual Behavior
This will not work because of a timeout.
Using the current ip address from WSL2 (eth1)
jdbc:oracle:thin:@192.168.1.114:1522:DBNAME
the connection works fine.I only have problems with oracle db containers. Other containers like PostgreSQL or Microsoft SQL Server works fine.
Maybe it's related to an firewall issue or a more specific TNS oracle problem.
.wslconfig
Diagnostic Logs
WslNetworkingLogs-2024-12-30_09-18-32.zip
The text was updated successfully, but these errors were encountered: