Can this URL help create the TNSNAMES,ORA file?

I have Instant Client 11_2 and I am trying to create the TNSNAMES.ORA file.

When I log into Oracle 9.0, with the URL of "JDEPROD.XXX.COM" the URL in JDE shows:

http://xxx-yyyynn.zzz.net:9418/jde/E1Menu.maf?jdeowpBackButtonProtect=PROTECTED

Is 9418 the port? Or is it still 1521?

Can this information be used in my TNSNAMES.ORA file? Like this:

***********************************
ORA11 =
 (DESCRIPTION =
   (ADDRESS_LIST =
     (ADDRESS = (PROTOCOL = TCP)(HOST = xxx-yyyynn.zzz.net)(PORT = 9418))
   )
 (CONNECT_DATA =
   (SID = ORA11
 )
)
**************************************

At the command prompt, if I run ping on JDEPROD.XXX.COM I see a different IP address than I do when I run ping on xxx-yyyynn.zzz.net.

Should I use one instead of the other?
LVL 2
jkasavanAsked:
Who is Participating?
 
JacobfwConnect With a Mentor Commented:
No the SID is determined by the DBA when the database is created.

you must have access to the Oracle database server but here are a view examples to find the SID

select * from global_name;

select sys_context('USERENV','INSTANCE_NAME') from dual;

select instance_name from v$instance;
 
c:\  tnsping server_name

c:\ echo $ORACLE_SID
0
 
JacobfwCommented:
The default port for Oracle is 1521.
You would normally just use the host name for your Oracle Server.
0
 
jkasavanAuthor Commented:
So host name "JDEPROD.XXX.COM". OK.

Do you know what the ":9418" is?
0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

 
JacobfwCommented:
9418 is the web application port used for your JDE application?
0
 
jkasavanAuthor Commented:
Does any of this show the SID?
0
 
jkasavanAuthor Commented:
I really appreciate your input on this!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.