Serial over Ethernet module selection


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924

    Default Re: Serial over Ethernet module selection

    I use the Nano Socket but not as the server. I use it to FTP data to a "real" server and the email function for alerts. One of the reasons I do not use it as a server is it can not be changed from port 80. Many LANs have port 80 blocked or I have to ask the customer to open the port in their firewall, or any port for that matter, which sometimes becomes troublesome. Sending the data to an outside server solves the port problem.
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Apr 2012
    Location
    Ptolemaida
    Posts
    50

    Default Re: Serial over Ethernet module selection

    Clever thing to do mackrackit !
    Thank you for the info, so as it seems ill proceed with Nano Socket. It seems ok for my project, because i want to do data fetching from phone applications and not from any PC that has firewall. So i don't think port 80 will be a problem don't you think??

    Regards, Kostas.
    One man's magic is ANOTHER man's engineering.
    Supernatural is a null word

  3. #3
    Join Date
    Dec 2010
    Posts
    409

    Default Re: Serial over Ethernet module selection

    I'm a little confused (as usual). Not that I want to challenge your assertion, Dave, but my experience is that port 80 is often the *only* port open, since pretty much all HTTP browsing goes through it. Then 443 (HTTPS), then the email ones, then FTP and so on. But if I had to design something with a fixed port, it would be 80 because it's basically universally open. Just curious - what classification of customers block port 80? (schools, government, slave labor camps?)

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924

    Default Re: Serial over Ethernet module selection

    Charlie,

    I will guess you are behind a router at you home, if you are look at the settings. If you have not opened port 80 or any other port for that matter, they should all be closed. There is an exception with some manufactures that mistakenly left a port or two open causing a security risk.

    So

    When you make a request to a sever on a port, 80 or any other, the packets are addressed so the server knows where to send the requested packets back to. Your router will do something called NAT traversal to allow the traffic back through to the correct machine.

    Lets say you set up a sever behind your router / firewall and you want it to receive request from the outside world, you will have to configure your router / firewall to pass that traffic through to the correct machine. Or place the home sever in the router's DMZ, but that is risky as far as security goes.

    Most companies with any IT department worth anything will have every port closed to request from the outside. The one exception we commonly see is the use of a VPN tunnel.
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Apr 2012
    Location
    Ptolemaida
    Posts
    50

    Default Re: Serial over Ethernet module selection

    Hey Dave,

    The thing is that i want to use the pic as a server from withing a company with strict rules. And i want to sent some data from withing to the outside world via their Ethernet. Isn't this possible via port 80 ?? I wont request data from the outside and i wont sent data from the outside to the pic either basically i don't care about incoming data so let them be blocked.

    Am i going to have problem again with port 80 and the router's firewall ??
    One man's magic is ANOTHER man's engineering.
    Supernatural is a null word

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924

    Default Re: Serial over Ethernet module selection

    You should be ok if communications to the device are from within the LAN. It will be able to send data out as any other device.

    I just brought the port 80 thing up as sometimes we will put a server on say port 8347 and open that up through the fire wall. Sometimes port 80 is already being used or the idea of security by obscurity...
    The Connect One devices will not allow this.
    Dave
    Always wear safety glasses while programming.

  7. #7
    Join Date
    Dec 2010
    Posts
    409

    Default Re: Serial over Ethernet module selection

    Dave, I have a pretty good understanding of how routers work. If you want to get to any device from the internet, it needs to be at a publicly routable static address, regardless of the port number. It can not be hidden behind a NAT segment.
    When someone wants to reach that server, however, the router THEY are behind will block OUTGOING requests on ports not specifically opened. Since the vast majority of those requests are on port 80, it's almost universally open. If you put your server on another port, it may be difficult to reach from many locations, unless you create a specific application and use UPNP or something.
    I suppose what you are doing is having the fixed IP source router route a specific port request to a specific internal address and port - clever idea. But if you are doing this, and no other server is hosting anything on this address, why isn't port 80 as good as any other? Or are hosting companies blocking this to prevent people hosting from their homes?
    I really am just curious - most of the things I do in this space are on private networks, and I'd be looking to serve internally only from this sort of device, with no need to access it from beyond the corporate firewall.

Similar Threads

  1. IR led and reciever module selection help
    By longpole001 in forum General
    Replies: 22
    Last Post: - 9th April 2013, 17:05
  2. Re: Easy Serial to Ethernet module
    By amaanraisel in forum Adverts
    Replies: 0
    Last Post: - 17th December 2012, 08:06
  3. Easy Serial to Ethernet module
    By isaac in forum Ethernet
    Replies: 6
    Last Post: - 9th March 2012, 20:56
  4. yet another new ethernet module
    By dhouston in forum Ethernet
    Replies: 2
    Last Post: - 1st October 2011, 13:59
  5. A programmable Ethernet-to-serial module
    By dhouston in forum Documentation
    Replies: 5
    Last Post: - 26th June 2006, 11:02

Members who have read this thread : 0

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts