i know how to computer but if I'm doing TCP things at that level that means a mistake was made sometime in the leadup
Lemme phrase it like this: # If I expose only port 4500 on a host, and try to send a request on 4600, I will get no response. Where does the machinery lie that allows the host to ignore the request on 4600?
-
-
You have to have some program running on that PC that opens a listening socket on any given port. Then that program literally just sits there running waiting for something to connect in that port. If you don't have any server programs running, there won't be any ports listening
-
How does the server software know to reject a request coming in on a port that’s not open. Is the port number encoded in the packet?etc. Again, I know what ports are but not how they get implemented on the transport layer
-
It doesn't. It is only aware of the ports it's listening on. Everything else by default is just not opened. I guess think of it like a wall? By default no way to get through that wall. Something has to poke a hole through it? Terrible analogy ... :)
-
I know it’s like a wall. I’m asking what the wall is made of
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.