Blog
How many IP addresses does a Web-IO with additional serial Com-Server functionality require?
Only one! Whether the IOs or the serial interface are to be addressed is determined via the TCP port or the protocol (HTTP, TELNET, FTP, TCP port 8000, …..).
Although in practice one always speaks of “the TCP/IP protocol”, we are really talking about two independent network protocols. IP is used to uniquely identify the network station while also providing routing mechanisms for cross-network communication. TCP is then layered over this protocol to use the addressing of port numbers for talking to an application running on the network device. This functionality becomes clear for example when you have a computer which is providing both an HTTP as well as an FTP server service at the same time. Both services are accessed through the same address, and differ only in their TCP port number (HTTP = 80, FTP = 21 etc.).