Skip to main content
3185 votes
40 answers
5.1m views

How do I manually find (and kill) process using the terminal that listen to/use my TCP ports? I'm on macOS. Sometimes, after a crash or bug, my Rails app gets locked to port 3000, and I can't find it ...
oma's user avatar
  • 41.6k
2207 votes
19 answers
2.0m views

On Linux, I can use netstat -pntl | grep $PORT or fuser -n tcp $PORT to find out which process (PID) is listening on the specified TCP port. How do I get the same information on Mac OS X?
pts's user avatar
  • 88.7k
993 votes
2 answers
1.6m views

What is the meaning of the "connection reset by peer" error on a TCP connection? Is it a fatal error or just a notification or related to the network failure?
Franck Freiburger's user avatar
876 votes
37 answers
1.8m views

I am attempting to debug an application on a Motorola Droid, but I am having some difficulty connecting to the device via USB. My development server is a Windows 7 64-bit VM running in Hyper-V, and so ...
JDM's user avatar
  • 9,767
478 votes
8 answers
466k views

What is the highest port number one can use?
username's user avatar
  • 19.8k
467 votes
5 answers
419k views

I understand the basics of how ports work. However, what I don't get is how multiple clients can simultaneously connect to say port 80. I know each client has a unique (for their machine) port. Does ...
IamIC's user avatar
  • 18.4k
465 votes
19 answers
1.4m views

I'm running an Express.js application using Socket.io for a chat webapp and I get the following error randomly around 5 times during 24h. The node process is wrapped in forever and it restarts itself ...
411 votes
23 answers
247k views

I've had a bug in our software that occurs when I receive a connection timeout. These errors are very rare (usually when my connection gets dropped by our internal network). How can I generate this ...
Mark Ingram's user avatar
  • 74.1k
396 votes
19 answers
689k views

I'm looking for a quick and simple method for properly testing if a given TCP port is open on a remote server, from inside a Shell script. I've managed to do it with the telnet command, and it works ...
Yanick Girouard's user avatar
376 votes
17 answers
431k views

Can two applications on the same machine bind to the same port and IP address? Taking it a step further, can one app listen to requests coming from a certain IP and the other to another remote IP? I ...
nadiv's user avatar
  • 3,771
344 votes
24 answers
255k views

Since TCP guarantees packet delivery and thus can be considered "reliable", whereas UDP doesn't guarantee anything and packets can be lost. What would be the advantage of transmitting data using UDP ...
Jeff L's user avatar
  • 6,208
310 votes
4 answers
254k views

Assuming infinite performance from hardware, can a Linux box support >65536 open TCP connections? I understand that the number of ephemeral ports (<65536) limits the number of connections from one ...
fadedbee's user avatar
  • 45.2k
304 votes
6 answers
268k views

I would like to simulate packet delay and loss for UDP and TCP on Linux to measure the performance of an application. Is there a simple way to do this?
user avatar
254 votes
20 answers
1.5m views

I'm trying to implement a TCP connection, everything works fine from the server's side but when I run the client program (from client computer) I get the following error: java.net.ConnectException: ...
Samantha Catania's user avatar
242 votes
9 answers
354k views

I'm so lost and new to building NGINX on my own but I want to be able to enable secure websockets without having an additional layer. I don't want to enable SSL on the websocket server itself but ...
crockpotveggies's user avatar

15 30 50 per page
1
2 3 4 5
1585