aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Why the UDP port changes automatically every time aMule restarts?  (Read 5286 times)

Rapeman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Why the UDP port changes automatically every time aMule restarts?
« 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?  ?(
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Why the UDP port changes automatically every time aMule restarts?
« Reply #1 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.
Logged

Rapeman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: Why the UDP port changes automatically every time aMule restarts?
« Reply #2 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~~~
« Last Edit: September 30, 2006, 09:23:44 PM by Rapeman »
Logged

Rapeman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: Why the UDP port changes automatically every time aMule restarts?
« Reply #3 on: September 30, 2006, 09:24:41 PM »

And then restart aMule...
Logged

Rapeman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: Why the UDP port changes automatically every time aMule restarts?
« Reply #4 on: September 30, 2006, 09:26:47 PM »

And the UDP port will change automatically to another random number...
Really sucks, I feel...
Logged

pleur

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 27
Re: Why the UDP port changes automatically every time aMule restarts?
« Reply #5 on: September 30, 2006, 10:50:54 PM »

try adjusting TCP to 4661 and UDP to 4666
Logged
Hoe liev ben jij vandaag?

Rapeman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: Why the UDP port changes automatically every time aMule restarts?
« Reply #6 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??? ?(
« Last Edit: October 01, 2006, 06:22:09 AM by Rapeman »
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Re: Why the UDP port changes automatically every time aMule restarts?
« Reply #7 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.
Logged

Rapeman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: Why the UDP port changes automatically every time aMule restarts?
« Reply #8 on: October 01, 2006, 12:38:23 PM »

I see. But the ID is still low with TCP=4661 and UDP=4666...Why?
Logged

lionel77

  • Provider of Mac builds, Forum Mod
  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 1107
  • Mac OS X 10.4 (Power Mac G5)
Re: Why the UDP port changes automatically every time aMule restarts?
« Reply #9 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 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. :)
Logged
Current aMule CVS builds for OS X can be found here.