This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Remote access to ECOS web server from internet
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Alperen Coskun <a_a_coskunoc at hotmail dot com>
- Cc: ecos discuss <ecos-discuss at ecos dot sourceware dot org>
- Date: Mon, 10 Mar 2008 10:46:00 +0100
- Subject: Re: [ECOS] Remote access to ECOS web server from internet
- References: <BLU138-W21587601369DB322601CC9CC0E0@phx.gbl>
On Mon, Mar 10, 2008 at 11:28:29AM +0200, Alperen Coskun wrote:
>
>
> Hi all,
>
> I'm using athttp server on ECOS. I'm able to reach the main page of
> the server that I have written in HTML with the address 192.168.x.x
> (In other words from a local address given by my ADSL Modem). I
> have no problem with this.
> However, I have to reach this main page from anywhere on internet
> (not only locally). I'm configuring my modem. (Internal port is 80,
> external port is for example 5500 using TCP). But, I'm not able to
> reach main page from outside of the local network. I tried lots of
> different situations but nothing changed. Is there anyone who tried
> this or has any idea? Can it be from ECOS' athttp server?
NAT port forwarding should make it look to the http server that the
request came from within the 192.168.0.0 network. So it should work.
I suggest you check if the packets are actually getting sent from your
NAT device to your eCos device. See if eCos is trying to reply. If
need be use a packet sniffer, or enable debugging in the eCos ethernet
device driver.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss