In our example, our application server listens on port 8080 (and incidentally is also a web server. For instance, here are some of the well-known Server applications and their port numbers. Ports are used to identify a particular application/program. In a Client-Server architecture, the Server listens on a particular port. In the above diagram, Web Server is the client and Application Server is the Server. In a distributed applications/services setup (which most of us ar dealing with), the Network architecture involved is the Client-Server architecture. While the protocol was designed to work on any physical medium, practically all the networks you will deal with nowadays are Ethernet and/or WiFi. US Department of Defence invented it, and it’s been the language of the Networks since early 80s (right, some of you had not been born yet). TCP/IP (Transmission Control Protocol/Internet Protocol) is a set of protocols used to transmit and receive data. The goal of this post is to demystify what SYN_SENT is and how you can go about fixing it.īut first let’s take a quick look at how TCP/IP works when a network connection is formed. However, if you are having a bad day, you might see this weird SYN_SENT status. For example, a socket can be in ESTABLISHED status or in LISTENING status. The output shows all the sockets that in the system. You might use netstat command something like the following: netstat -an One of the easiest (yet critical) ways to check the connectivity is using netstat command. For instance, let’s say you believe your Web Server is not able to connect to your Application Server, because you are seeing Connection timed out or Connection Refused error all over your log files. Say you are troubleshooting a connectivity issue between two devices.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |