aMule Forum

English => Multiplatform => Mac OSX => Topic started by: Rapeman on September 30, 2006, 03:15:23 PM

Title: Why the UDP port changes automatically every time aMule restarts?
Post by: Rapeman on September 30, 2006, 03:15:23 PM
all was fine before my Mac OS X updated to 10.4.8. After that, I found the aMule's UDP port has been changed. And every time I change the UDP port to 4664, restart the aMule as it asked, it will automatically change to another random number......

Could anyone help, plz?  ?(
Title: Re: Why the UDP port changes automatically every time aMule restarts?
Post by: Kry on September 30, 2006, 09:08:58 PM
Because you can't set both UDP ports to the same number. Notice the port bellow the TCP.
Title: Re: Why the UDP port changes automatically every time aMule restarts?
Post by: Rapeman on September 30, 2006, 09:18:23 PM
Quote
Originally posted by Kry
Because you can't set both UDP ports to the same number. Notice the port bellow the TCP.

I set TCP=4661, and UDP=4664~~~
Title: Re: Why the UDP port changes automatically every time aMule restarts?
Post by: Rapeman on September 30, 2006, 09:24:41 PM
And then restart aMule...
Title: Re: Why the UDP port changes automatically every time aMule restarts?
Post by: Rapeman on September 30, 2006, 09:26:47 PM
And the UDP port will change automatically to another random number...
Really sucks, I feel...
Title: Re: Why the UDP port changes automatically every time aMule restarts?
Post by: pleur on September 30, 2006, 10:50:54 PM
try adjusting TCP to 4661 and UDP to 4666
Title: Re: Why the UDP port changes automatically every time aMule restarts?
Post by: Rapeman on October 01, 2006, 06:19:06 AM
Quote
Originally posted by pleur
try adjusting TCP to 4661 and UDP to 4666

it's work, but shouldn't UDP=TCP+3??? ?(
Title: Re: Why the UDP port changes automatically every time aMule restarts?
Post by: ken on October 01, 2006, 08:40:02 AM
Rapeman, no.  aMule uses two UDP ports.  One, called the "extended server port", it calculates automatically by adding 3 to the TCP port.  The other, called the "extended client port", you select.  The rule is, of course, that the one you select cannot be the same as the one that's calculated automatically.  That's what Kry was trying to tell you.
Title: Re: Why the UDP port changes automatically every time aMule restarts?
Post by: Rapeman on October 01, 2006, 12:38:23 PM
I see. But the ID is still low with TCP=4661 and UDP=4666...Why?
Title: Re: Why the UDP port changes automatically every time aMule restarts?
Post by: lionel77 on October 03, 2006, 11:37:41 AM
@Rapeman (btw, slightly disturbing name imho), see my canned port forwarding reply:

Quote
You need to forward the ports that aMule uses in your router. Take a look at http://portforward.com/routers.htm, that page has detailed step-by-step instructions for pretty much every router on the market.

aMule uses three ports (see Preferences->Connection) that need to be forwarded:
  • a client TCP port
  • a client UDP port (this is the above port +3)
  • and an eMule extended UDP port
Also, if you are running any firewall software (e.g., OS X's built-in firewall, which you can control via System Preferences->Sharing->Firewall) on your computer, you need to open the above ports there as well.

You can use the connection tester (http://www.amule.org/testport.php) to check whether the client TCP port can be reached from the outside, that is, whether it is forwarded properly in your router and not blocked by any firewall software.

Good luck. :)