Internal NAT to Oracle Application Express 3.2.

Posted on 2010-08-17
Last Modified: 2013-12-19
Having  trouble accessing our oracle application express database (APEX Server) via computers on  our local LAN. Here is a basic map of our network.

•      Router simple Linksys BEFSR41                                                          IP  
•      File Server DNS server DHCP server – SBS 2003                              IP
•      APEX server SBS 2003 (server with program we need to access)   IP
All IP are static all sites can ping each other
I have attached a screen shot of the port forwarding setting all firewalls have been turned off.

The APEX program was normally accessed by typing in

From your local workstation but now when we try us get the following error on Firefox Unable to connect Firefox can't establish a connection to the server at
Get similar error in IE
We can get as far as when type that in the web address but when we add the 8080/apex on the end get the error noted above.

The APEX program can be accessed locally on the server just not from any other computers on the LAN. Locally on server by typing

Everything was working fine until the UPS died and the router and servers had to be rebooted.

Question by:ndn_hopper1
  • 5
  • 4
  • 2
LVL 24

Expert Comment

by:B H
ID: 33461625
this can't possibly have anything to do with your linksys - nat is only for whatever traverses internal/external and not internal/internal.   that's all handled by the local switches arp tables, and of course the destination.

while i don't know anything about apex, your problem is for sure on the apex server, and it has to be this:
the BIND port is probably and not (or not "default all unassigned" which is ok too), meaning, it can only talk to itself.  

this could have been a config change made days/weeks/years ago and never took effect until the server rebooted itself.

unfortunately i can't lead you to the answer in APEX step by step, but knowing that above, you should be able to find that setting relatively easy

Author Comment

ID: 33470222
I don't have much experience with APEX myself anyone have any idea I could do this?

Expert Comment

by:Sanjeev Labh
ID: 33472198
I am having a doubt here since all IPs are of the same network why are you using a router. Probably that might be a problem for you since you are able to access the application on local machine. If your all machines are on the same network then a switch should do enough for you and all machines would be accessible to each other too.
LVL 24

Expert Comment

by:B H
ID: 33472203
i assume you have a router for internet access - as i said before though, the existence of such does not matter one bit as long as the machines trying to access the server are on the same side of the router as the server itself.

if the machines trying to access the server are on the external side of the router, then you need NAT rules to forward the ports.

however, even with correctly configured nat rules, if the server is bound to it won't answer those requests, nor will it answer requests from any LAN machine on the internal side.

i'll research apex a bit and see if i can find step by step for you
LVL 24

Expert Comment

by:B H
ID: 33472230
holy wow this looks complicated to me - but i'm not a SQL guy at all

there are several choices of which webserver will run this apex for you - iis, apache, some other stuff, or the oracle webserver itself.

if it's the oracle webserver itself, here's the area that would need to be adjusted.  i'd start by looking at the "host" in this file referenced here:

if it's, well, there's your problem.  make it be the internal lan ip of that server.

of course, backups are a good idea - as is adding this question to the SQL section, maybe catching the eye of some expert that doesn't subscribe to the oracle one
Save on storage to protect fatherhood memories

You're the dad who has everything. This Father's Day, make sure your family memories are protected. My Passport Ultra has automatic backup and password protection to keep your cherished photos and videos safe. With up to 3TB, you have plenty of room to hold the adventures ahead.


Author Comment

ID: 33472253
the plan is to have the APEX app be accessed externally but one step at a time.  I did set this up so thats part of the problem. I think its run through iis. using only works if your on the server or using RDP.
Before you could from your workstation on the LAN type in the apex server LAN ip with :8080 and the apex program would launch.

Thanks for your time
LVL 24

Expert Comment

by:B H
ID: 33472274
right - means "myself"... so if it's only listening on "itself" it's only going to answer itself...

so....  look in your IIS, i'm very familiar with iis... see if you have a virutal site called "apex" listed under "default web site".  if so, right-click it, browse.  is that your apex stuff?

if so, right-click "default web site", then on the "web site" tab there, make sure it says "all unassigned"

if it didnt, make it so, hit ok, and restart iis or restart the server, and the magic will flow

if it's not iis, and is some other web server, we just need to find out what server, and where the configuration is changed at

Expert Comment

by:Sanjeev Labh
ID: 33472342
The problem lies in APEX itself. There is a setting inside APEX where it is defined the HTTP access rights. When you login into APEX as an administrator, in the option Administration you will see in the drop down list manage HTTP access. Here you will get the option for making it accessible to remote clients too. Default is local access only. I have attached a screen for the same.

Author Comment

ID: 33475148
Thank you for all your input. I will try there solutions and let you know

Accepted Solution

ndn_hopper1 earned 0 total points
ID: 33506178
Found a solution.

Executing the following in sqlPlus:

exec dbms_xdb.setlistenerlocalaccess(false);
LVL 24

Expert Comment

by:B H
ID: 33506870
That's awesome, glad you got that

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now