Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Jun 29, 2012 12:40 pm 
Offline
Senior Newbie

Joined: Wed Oct 20, 2010 2:47 pm
Posts: 11
We have been running a custom server on our Linode at port 8000 for over a year now. Most of the users access this server with client software running on a Windows, Mac or Linux OS. We haven't experienced any problems.

Recently we began a project to port this protocol to a deeply embedded Arduino device. The Arduino is the client; our Linode hosts the server. However we are noticing very frequent timeouts from the Arduino while it tries connect to port 8000. We have run an extensive matrix of experiments including knocking down Apache and running our server on port 80. Arduino connects perfectly with port 80. Best we can tell the actual port number is the variable which determines whether or not the Arduino can reliably connect to the Linode.

While the source of this "problem" may well reside in the Arduino library, I thought I would ask this forum if any one can think of a reason why Linode port 80 and port 8000 would be different. ie. are their subtle timing differences which might be spooking the Arduino library to go down a timeout branch?

Thanks in advance for your help.

bob


Top
   
PostPosted: Fri Jun 29, 2012 9:15 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Shouldn't be a difference, although many networks treat traffic differently depending on port. What does tcpdump show on each end?

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
PostPosted: Sat Jun 30, 2012 5:44 am 
Offline
Senior Member

Joined: Fri Feb 18, 2005 4:09 pm
Posts: 594
You might try a different standard port such as 443 (used for SSL connections) as a test - that port might also get you past a few more outgoing firewalls on the client side. The problem might be whether the port number is above or below 1024, so you could test 1023 vs. 1025.

James


Top
   
PostPosted: Sat Jun 30, 2012 2:47 pm 
Offline
Junior Member

Joined: Mon Jan 30, 2012 3:21 am
Posts: 29
Location: Glendale, CA
Port 8000 is not a good choice to use as MANY firewalls, security devices and ISPs block it or rate limit it for several reasons

- Shoutcast/Icecast servers use ports 8000-8050;
- Several worms use port 8000..

For some more items that use 8000, http://www.speedguide.net/port.php?port=8000


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group