A socket is an abstract network construct with a sending and receiving side. In most modern operating systems (OS) there are device representations, and programming tools to address sockets.
Questions tagged [socket]
564 questions
0
votes
1 answer
what are the options to close manual the port correctly or release the port on rhel machines?
we have redhat 7.5 server
we are suspect that port 50070 not closed correctly by the service , ( we check by netstat and PID not found ) but from the log we can see that port is in use
so we try to do the following for example ,
ss --kill state…

King David
- 549
- 6
- 20
0
votes
1 answer
Postgres authentication type "local" vs "host 127.0.0.1"
I have a Postgres v10 Server to which only local connections will be established. In the documentation I find two methods to configure such an authentication process in pg_hba.conf: local and host with 127.0.0.1:
# Allow any user on the local system…

TheCooocy
- 141
- 6
0
votes
1 answer
Is there a "server" version of telnet?
If I want to quickly connect to a socket as a client and type something I can use telnet.
Is there a version of telnet or a similar program that provides the server-side of this?
In other words, is there some sort of "telnetserver" program I can…

CaptainCodeman
- 227
- 2
- 10
0
votes
0 answers
Client network socket disconnected before secure TLS connection was established
I'm facing an error on running the node script which generates the PayPal invoices using SDK and when it runs from the local server it is working fine but when it runs on production server it is giving below error:
Uncaught Exception
{
…

Harshal Mahajan
- 97
- 1
- 4
0
votes
1 answer
Not able to established more than 65532 TCP/IP Socket Connection in windows 10 after setting -DFD_SETSIZE to 110K
I'm not able to establish more than 65532 TCP/IP Socket Connection on Windows 10.
After 65532 TCP/IP Socket Connections in Windows 10, getting Socket Error 10055 - No Buffer Space Available.
WSAGetLastError() is returning Error 10055 - No Buffer…

Sumit Tomar
- 1
- 1
0
votes
1 answer
Python Socket Not Able To Connect To Windows Server
I am using socket library in python and want to connect client (my computer) to server (AWS EC2 Windows instance).
But client always give error:- "TimeoutError: [WinError 10060] connection failed because connected host has failed to…

Rishi
- 1
- 1
- 2
0
votes
1 answer
Why does Tomcat 9 have established connections on localhost
I'm trying to understand why Apache Tomcat 9 has certain established connections that are via localhost. I'm using the Apache Tomcat 9 on windows. See below, I'm looking at the TCP/IP section in process explorer for the Tomcat9.exe process.
What…

Aditya K
- 923
- 3
- 13
- 24
0
votes
1 answer
Docker race condition leading to curl error "transfer closed with 1 bytes remaining to read"
It is hard to fully describe our problem. However, I will try my best to provide full information.
I spent many hours and still stuck. Hope that anyone here can help me.
Currently, our container randomly hangs on response to network request.
I have…

Sang
- 101
- 4
0
votes
1 answer
Connecting to a python socket behind a router
I have a Python script on my server which opens a socket that can be connected to from anywhere.
It works on my digitalocean test server that has a public IP as shown by ifconfig.
It does not work on my work server which is behind a router and…

slaw
- 105
- 3
0
votes
1 answer
Why don't I see the TCP handshake in the HTTP server?
When I create a simple http server (a socket listening to a port) I don't see the actual TCP handshake taking place. Why is that? Why is it hidden from me?
For example if I start a server on port 9822 like this:
nc -l 9822
And then I open my web…

Liga
- 135
- 2
- 12
-1
votes
1 answer
Seeing/dumping incoming data on a port?
I need to check if some client is sending some data on a specific port of a raspberry pi/debian or windows. Is there some built in program that I can launch to check a particular port for incoming data/tcp, and possible dump it on screen or log ??

Ahmed
- 99
- 1
-1
votes
1 answer
Why do the port change when sending TCP data on localhost
I'm new to network programming and I'm starting simple.
I got 2 simple python scripts both running on my machine, a server and a client, the client sends some data using the port 80 and the server listens on the port 80 and prints the data and…

Issam
- 1
- 4
-1
votes
2 answers
Assign Domain Name on a IP:Port Listener
I have a Java Socket Listener at Port :5000. And since i have an Public IP Address on my Server, it is available at something like this:
123.123.123.123:5000
It is fine.
But now, what if i don't want to use the IP Address, and instead use the…

夏期劇場
- 455
- 2
- 6
- 19
-1
votes
1 answer
Can't connect to socket from outside
I have a problem on my server when I start an application that listen to a port: I can connect to it from the same machine, but not from the ouside world.
I noticed this problem when trying to create an irc bouncer with irssiproxy (I successfully…

user348222
- 1
- 2
-1
votes
1 answer
Blocking a specific external IP:Port connection in RedHat?
I know that in RedHat, in the IP tables I can block incoming connections to a local port. I can also block connections from a specific IP.
But is it possible to block a connection from a specific IP address and the connection attempt is made from a…

Mars
- 101
- 5