What TCP/IP Ports does MJ use?

Having issues with your magicJack? Post here, and we'll try to help you out!

Moderators: Pilot, Bill Smith

Post Reply
TomInVT
MagicJack Newbie
Posts: 2
Joined: Sun Jan 27, 2008 7:23 pm

What TCP/IP Ports does MJ use?

Post by TomInVT »

I would like to give MJ a boost through my router by giving the MJ ports priority. I sometimes I have had bandwidth problems while downloading, etc. Though this would be a good solution. Can anyone tell me the port numbers?
Tom In VT
dan
Dan isn't smart enough to hire me
Posts: 113
Joined: Mon Nov 12, 2007 6:57 pm
Location: Denver

Post by dan »

UDP traffic
port 5070 for registration
port 5060 5061 for sip messaging
RTP ports will vary

TCP never messed with but I would say port 80 or 8080
LikeMagic
Dan Should Pay Me
Posts: 613
Joined: Tue Jan 01, 2008 9:11 pm
Location: LikeMagic Pacific NW

Post by LikeMagic »

MagicJack/SIP (MJ softphone client) always uses source port 5060 --> destination port 5070 (MagicJack server) for all registrations/requests. Basically,
SIP client always uses port 5060 to communicate with SIP server at port 5070. SIP server always uses port 5070 to communicate with SIP client at port 5060. RTP (real-time protocol) for actual VOIP call connection uses a randomly assigned port between 10,000 and 65535.
Last edited by LikeMagic on Sun Mar 23, 2008 1:36 pm, edited 1 time in total.
checkers
MagicJack User
Posts: 30
Joined: Sat Mar 15, 2008 11:44 am

Interesting question

Post by checkers »

In my opinion no port forwarding is necessary, when I forst set my MJ up I had all kinds of issues , just to find out it was all on there side. I opened ports in my router and it never resolved a thing. Once my MJ bgean to work ( again it was ther problem not mine ) I closed all the ports I had opened and it works just fine. I know this does not answer you question but if your MJ is not working i doubt its because of a closed port.

Checkers
VaHam
Dan Should Pay Me
Posts: 851
Joined: Wed Feb 13, 2008 8:02 pm

Re: What TCP/IP Ports does MJ use?

Post by VaHam »

TomInVT wrote:I would like to give MJ a boost through my router by giving the MJ ports priority. I sometimes I have had bandwidth problems while downloading, etc. Though this would be a good solution. Can anyone tell me the port numbers?
I believe that MJ uses both 80 & 443 for provisioning and 5070 for SIP Proxy. The RTP (voice) traffic however is opened on ports in the 12,000 14,000 range and the exact port used changes with every call. If your looking to to do QoS I think the RTP traffic would be what you need to give priority to. Unfortunately since MJ is hosted on your computer you can't simply give priority to a MAC/IP or it would be just giving priority to all traffic coming to/from your computer. You could give priority to a range of ports say 10,000 - 20,000 and this should catch the dynamic ports using RTP but this would mean that any program using these ports would also get priority.

Not sure which router you use but in DD-WRT you can create a port service and give it a range of ports and protocol type (tcp&udp) then grant to priority to that service name which is really then giving the priority to the port range you defined when creating the service name. I think that is the best you can do until MJ allows BYOD.

I am no great expert at this so please someone jump in if you have better ideas!
LikeMagic
Dan Should Pay Me
Posts: 613
Joined: Tue Jan 01, 2008 9:11 pm
Location: LikeMagic Pacific NW

Post by LikeMagic »

MJ uses port 443 (https) to do provisioning once (first time registration to get phone number assigned). MJ uses port 80 (http) to receive & display various MJ ads on the MJ softphone. MJ softphone uses standard SIP ports 5060/5070 for all SIP request/invite/bye. RTP port mentioned above.
Post Reply