I
I
Igor Petrov2011-04-22 11:08:55
Oracle
Igor Petrov, 2011-04-22 11:08:55

Question on Java + OracleDatabase?

Hi all!
Trying to actively learn Java but still feel like a lame. I am suffering now with such a lamer question.
For example, I have JDeveloper and OracleXE. The connection between the database and the application is defined by the line:

String jdbcUrl = "jdbc:oracle:thin:@127.0.0.1:1521:XE";

So, can another computer access my database remotely if it writes my IP instead of 127.0.0.1? Or will I have to write some other network connection?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ruslan_Y, 2011-04-22
@Ruslan_Y

I will answer you with a link to the dock, there and about what is included and where it is configured:
www.oranet.ru/OraDoc10gXE/admin.102/b25107/network.htm
If it’s simple, it all depends on the firewall settings and the database listener (listener) , if I understand everything correctly, the database is initially configured to accept connections from the outside and you can access it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question