79449695

Date: 2025-02-18 21:58:45
Score: 0.5
Natty:
Report link

The solution is simple, but dangerous. The Oracle VM should ONLY be used for development and testing purposes, NEVER for a serious production system.

Now, that said, here's the solution:

Step one - turn off the firewall

In the Oracle VM, issue the following commands:

sudo systemctl stop firewalld

sudo systemctl disable firewalld

Step two - allow connections from anywhere

Edit the file: /opt/oracle/product/23ai/dbhomeFree/network/admin/listener.ora

Change localhost to 0.0.0.0

Use sudo and vim to do this.

Step three - restart the VM

That's it. It very dangerous for anything important, but this is just for dev and testing, right? Right?!

Reasons:
  • Whitelisted phrase (-1): solution is
  • Whitelisted phrase (-2): solution:
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Bob Roth