Fileupload not working with natted IP's

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
irudayarajp
Forum Newbie
Posts: 2
Joined: Wed Mar 24, 2004 1:25 am

Fileupload not working with natted IP's

Post by irudayarajp »

Hai everybody,
I have a strange problem. I have a file man utility that is running in the Linux machine. We have natted the ip address. I have specified the file upload limit in the php.ini file. I am using Apache server. When I try to upload using the internal IP it works fine. When I try using the natted IP it gives us a problem of " Pgae cannot be displayed " when I try to upload a file of 3MB size. Can any one help me ????
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Re: Fileupload not working with natted IP's

Post by Roja »

irudayarajp wrote:Hai everybody,
I have a strange problem. I have a file man utility that is running in the Linux machine. We have natted the ip address. I have specified the file upload limit in the php.ini file. I am using Apache server. When I try to upload using the internal IP it works fine. When I try using the natted IP it gives us a problem of " Pgae cannot be displayed " when I try to upload a file of 3MB size. Can any one help me ????
I'm guessing, but here's my theory -

When using the natted IP, its traveling across the internet, and back in to the server (which is bad, by the way). In doing so, it gets *alot* more latency, and possibly could be going over the TTL.

If you can access the first page, but the second page gives the "page cannot be displayed", its almost definitely due to increased latency.

My suggestion is to look at how the routing is occuring - from the natted IP, do a traceroute to the webserver. If its more than a few hops, you probably should reconfigure it.
irudayarajp
Forum Newbie
Posts: 2
Joined: Wed Mar 24, 2004 1:25 am

Post by irudayarajp »

Hai,
We found out the problem. It was with the proxy and firewall that we were not able to do so. When we tested it with a dial up line itr works fine. Thanks for Ur reply.

Regards,
Irudayaraj P
Post Reply