aMule Forum

English => aMule Help => Topic started by: Phlogiston on May 18, 2006, 10:15:18 AM

Title: amuleweb only works on localhost
Post by: Phlogiston on May 18, 2006, 10:15:18 AM
Hi guys

I just installed amuleweb successfully, I set the port and all the stuff but I can't get a connection from outside. I have no firewall and the port is open as other ports (I mean apache works...)

Is there an option I forgot?

Thanks
Title: Re: amuleweb only works on localhost
Post by: stefanero on May 18, 2006, 01:40:54 PM
plz post

netstat -ntpl | grep amule
Title: Re: amuleweb only works on localhost
Post by: lfroen on May 18, 2006, 01:48:16 PM
Quote
Is there an option I forgot?

Yes. You do have firewall or nat. Or both.
Title: Re: amuleweb only works on localhost
Post by: Phlogiston on May 18, 2006, 10:35:26 PM
Quote
Originally posted by stefanero
plz post

netstat -ntpl | grep amule

No problem here you go:

netstat -ntpl | grep amule
tcp        0      0 0.0.0.0:4711            0.0.0.0:*               LISTEN     3217/amuleweb
tcp        0      0 0.0.0.0:4712            0.0.0.0:*               LISTEN     3210/amule
tcp        0      0 0.0.0.0:4662            0.0.0.0:*               LISTEN     3210/amule

Thanks for any further help
Title: Re: amuleweb only works on localhost
Post by: Phlogiston on May 18, 2006, 10:37:23 PM
Quote
Originally posted by lfroen
Quote
Is there an option I forgot?

Yes. You do have firewall or nat. Or both.

I don't have a firewall but I have nat but as I said I forwarded the port to the machine [Port: 4711] and this also works for apache, ftp and other stuff on the server.

 ?(
Title: Re: amuleweb only works on localhost
Post by: stefanero on May 19, 2006, 07:13:21 AM
well amuleweb listens for all connection on all interfaces, so its definelty a NAT / firewall issue..
Title: Re: amuleweb only works on localhost
Post by: lfroen on May 19, 2006, 08:50:40 AM
Quote
I said I forwarded the port to the machine [Port: 4711]

No you don't.
Title: Re: amuleweb only works on localhost
Post by: Phlogiston on May 19, 2006, 02:13:01 PM
Quote
Originally posted by lfroen
Quote
I said I forwarded the port to the machine [Port: 4711]

No you don't.

Hehe at least I thought and tried to:

...and the port is open...

That means I explicitly set it in my nat config...
Title: Re: amuleweb only works on localhost
Post by: stefanero on May 19, 2006, 06:31:12 PM
linux iptables maybe blocking smth then?
Title: Re: amuleweb only works on localhost
Post by: Phlogiston on May 19, 2006, 06:43:52 PM
negative, no iptables here. And it works from network computers...
Title: Re: amuleweb only works on localhost
Post by: stefanero on May 19, 2006, 06:49:06 PM
so its your router...
Title: Re: amuleweb only works on localhost
Post by: Phlogiston on May 19, 2006, 08:27:46 PM
Quote
Originally posted by stefanero
so its your router...

But I tried opening all the ports too, it didn't help... WTF is going on? =)
Title: Re: amuleweb only works on localhost
Post by: lfroen on May 19, 2006, 10:17:39 PM
OP - your arguments are useless. There's nothing special in amuleweb. If you can't connect to from outside - that mean only ONE (1) thing: there's firewall in-between. This is fact. This is the way nature works. Either software firewall or that nat box you have - configured wrong. RTFM of your router and your OS.
Title: Re: amuleweb only works on localhost
Post by: Phlogiston on May 19, 2006, 10:28:35 PM
Quote
Originally posted by lfroen
OP - your arguments are useless. There's nothing special in amuleweb. If you can't connect to from outside - that mean only ONE (1) thing: there's firewall in-between. This is fact. This is the way nature works. Either software firewall or that nat box you have - configured wrong. RTFM of your router and your OS.

Ok so the problem can't be amuleweb... What about the outpunt of netstat? All ok aren't they?

And hey please keep cool... I didn't offend you... My router can't be the problem, it must be the OS/amuleweb  ;)
Title: Re: amuleweb only works on localhost
Post by: stefanero on May 19, 2006, 10:41:59 PM
the netstat output was ok....

and lfroen is never cool , just ignore his offense ;)

what the error you get when you try to login from "outside lan" you cant login? or the page does not even show up?
Title: Re: amuleweb only works on localhost
Post by: Phlogiston on May 19, 2006, 10:47:59 PM
Quote
Originally posted by stefanero
the netstat output was ok....

and lfroen is never cool , just ignore his offense ;)

what the error you get when you try to login from "outside lan" you cant login? or the page does not even show up?

The connection times out... no message...
Title: Re: amuleweb only works on localhost
Post by: Kry on May 19, 2006, 10:50:08 PM
So the port is not properly forwarded, or you have a firewall.


there's no other option
Title: Re: amuleweb only works on localhost
Post by: Phlogiston on May 19, 2006, 10:53:32 PM
Quote
Originally posted by Kry
So the port is not properly forwarded, or you have a firewall.




there's no other option

Hmm this is very strange... I opened __all__ ports for testing and it didn't help. I can't be any config option? Any tips that it could be a server issue? I mean my linux server.  Shall I try another port?
Title: Re: amuleweb only works on localhost
Post by: Phlogiston on May 19, 2006, 10:56:40 PM
Anyone interested in testing if port 2000 is open on 212.41.80.111?

Thanks
Title: Re: amuleweb only works on localhost
Post by: Phlogiston on May 19, 2006, 11:11:49 PM
Ip just changed.. but I think I know the problem... It really is the router...
Title: Re: amuleweb only works on localhost
Post by: Phlogiston on May 19, 2006, 11:43:38 PM
Ok I know that this has nothing to do with amule any longer.

But when I open/forward a port nmap says it's filtered and not open like other ports as 80 or ssh ports.

Why this? Does my router just suck or what's going on? Anyone has an idea?

I opened a port 49000 and this changes to filtered but not to opened...


Starting Nmap 4.00 ( http://www.insecure.org/nmap/ ) at 2006-05-19 23:41 MEST
^Ccaught SIGINT signal, cleaning up
helgc@tardis-a05:~>nmap -p 49000 212.41.104.138

Starting Nmap 4.00 ( http://www.insecure.org/nmap/ ) at 2006-05-19 23:41 MEST
Interesting ports on 212.41.104.138:
PORT      STATE    SERVICE
49000/tcp filtered unknown

Nmap finished: 1 IP address (1 host up) scanned in 12.327 seconds
helgc@tardis-a05:~>nmap -p 49001 212.41.104.138

Starting Nmap 4.00 ( http://www.insecure.org/nmap/ ) at 2006-05-19 23:41 MEST
Interesting ports on 212.41.104.138:
PORT      STATE  SERVICE
49001/tcp closed unknown

Nmap finished: 1 IP address (1 host up) scanned in 0.330 seconds

I feel fucked up  :D
Title: Re: amuleweb only works on localhost
Post by: wuischke on May 19, 2006, 11:49:22 PM
What's your routers name?
Title: Re: amuleweb only works on localhost
Post by: Phlogiston on May 19, 2006, 11:53:52 PM
It's a Zyxel Prestige 650ME-11:

System Name :
ZyNOS F/W Version: V3.40(KA.2) | 9/19/2003
DSL FW Version: Alcatel, Version 3.9.122
Standard: Multi-Mode

:)
Title: Re: amuleweb only works on localhost
Post by: wuischke on May 20, 2006, 12:04:54 AM
OK, first of all needs your PC a static IP.
Then log in to your router config menu, select NAT and chose SUA only. Edit the details and forward the ports 4662, 4665, 4672 and 4711 to this IP. (The first three are used by aMule, you should have a LowID at the moment.)
An example: 4662 | 4662 | 192.168.1.2 (assumed that this is your local IP)
Title: Re: amuleweb only works on localhost
Post by: Phlogiston on May 20, 2006, 12:10:06 AM
Quote
Originally posted by wuischke
OK, first of all needs your PC a static IP.
Then log in to your router config menu, select NAT and chose SUA only. Edit the details and forward the ports 4662, 4665, 4672 and 4711 to this IP. (The first three are used by aMule, you should have a LowID at the moment.)
An example: 4662 | 4662 | 192.168.1.2 (assumed that this is your local IP)

I know about that stuff and have forwarded the ports. Why do I need all that ports?

Could the problem be that I have forwarded too much ports? I mean I am using all fields....
Title: Re: amuleweb only works on localhost
Post by: wuischke on May 20, 2006, 12:19:43 AM
http://www.amule.org/wiki/index.php/Get_HighID
And as you most probably know is 4711 needed for amuleweb-access.

Don't get me wrong, but there ought to be a problem we want to solve, thus I have to ask you again:
Do you have a static IP?
Is this the one you forwarded the ports to?
Is there a router firewall which may block ports?
Title: Re: amuleweb only works on localhost
Post by: Phlogiston on May 20, 2006, 12:25:50 AM
Quote
Originally posted by wuischke
http://www.amule.org/wiki/index.php/Get_HighID
And as you most probably know is 4711 needed for amuleweb-access.

Don't get me wrong, but there ought to be a problem we want to solve, thus I have to ask you again:
Do you have a static IP?
Is this the one you forwarded the ports to?
Is there a router firewall which may block ports?

No problem about the question and thanks a lot for your help. There is no firewall at all, only some securtiy options that I allowed. (ping, ftp...) And I have static IP's on my network. And of course the port is forwarded to the correct IP. Because web, ftp and ssh works without problems. I even changed the ssh port to another and it works.
Title: Re: amuleweb only works on localhost
Post by: stefanero on May 20, 2006, 08:01:23 AM
maybe update your fireware...this sometimes solves the funniest things  :rolleyes:
Title: Re: amuleweb only works on localhost
Post by: Phlogiston on May 20, 2006, 09:48:27 AM
Quote
Originally posted by stefanero
maybe update your fireware...this sometimes solves the funniest things  :rolleyes:

You could be right, but the strange thing is that the firmware from the manufactors page is older than the one I upgraded "some" time ago...