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
0 answers
How to troubleshoot Windows error #10057 Socket is not connected at the networking level?
https://docs.microsoft.com/en-us/windows/desktop/winsock/windows-sockets-error-codes-2 says, that the cause of #10057 is
A request to send or receive data was disallowed because the socket is
not connected and (when sending on a datagram socket…

TomR
- 111
- 1
- 1
- 6
0
votes
1 answer
How to access the floating ip in browser rather than a localhost?
I have an instances that was made in OpenStack which have a floating IP for its instance, the IP for this machine is 10.1.1.164. I tried to forward this instances so it will accessible in my firefox browser locally. First i used this ssh command to…

Gagantous
- 89
- 1
- 2
- 10
0
votes
1 answer
Openlitespeed as a WebSocket Proxy
I am building web applications related to the socket.
And my application runs well without https, if it has https, it will not connect.
And as guidance on nginx must configure additional proxy.
But I do not know on openlitespeed configured in any…

gait
- 101
- 3
0
votes
1 answer
How to redirect traffic sent to tap to a specific ip addr
I created a tap device using the following commands:
sudo ip tuntap add mode tap tap7
sudo ip link set tap7 up
sudo ip addr add 77.0.0.1/24 dev tap7
Now, I am using c++ sockets programming to write packets to tap7 and I am able to capture them with…

Ahmed Hussein
- 99
- 5
0
votes
0 answers
Nginx as Reverse Proxy for multiple servers binded to proxy using UNIX sockets - how to reached in LAN
I am trying to configure nginx as a reverse proxy for multiple servers on my LAN. They should go out on my WAN with different subdomains.
Unlike the approach described in Use Nginx as Reverse Proxy for multiple servers I want to use UNIX socket for…

Stefan
- 131
- 5
0
votes
0 answers
Glassfish crashes due too many open files
I am having a backend deployment running on a glassfish server, the frontend of my application sends REST request when it needs some data. Also the backend is connected to a mongo database:
FRONTEND <----rest---->BACKEND<---->DB .
My backend is…

Chinaedu Onwukwe
- 101
- 1
0
votes
0 answers
Can't connect to server using sockets
I am using this library for networking my game, and it works great on localhost; but
I put my server.exe listener on my AWS EC2 windows remote instance, and I have not been able to connect to it.
These are all the things I have done to try and get…

Buretto
- 101
- 1
0
votes
1 answer
What happens to a ESTABLISHED connection after a firewall restriction is enabled between the hosts in the connection?
I would like to know what will happen to an ESTABLISHED connection between two hosts (say A:9999 & B:8888), after a firewall restriction enabled between those two hosts thus preventing any communication between the hosts or on specific ports.
I…

GP92
- 681
- 2
- 9
- 27
0
votes
1 answer
Nginx confusing $fastcgi_script_name with $fastcgi_path_info
Here is the relevant part of my Nginx configuration file:
http {
log_format fastcgi
'$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
…

nalzok
- 115
- 7
0
votes
1 answer
How can I count / view all fast-path sockets on windows server?
In case you're not familiar, fast path loopback sockets:
https://blogs.technet.microsoft.com/wincat/2012/12/05/fast-tcp-loopback-performance-and-low-latency-with-windows-server-2012-tcp-loopback-fast-path/
How can I count how many connections of…

Ronen Ness
- 169
- 9
0
votes
2 answers
Bind a tcp socket below 1000 with a non root user using Systemd, java and Ubuntu 16.04
I wanted to try socket activation with Systemd and Java on my ubuntu server 16.04. My idea is to make my program able to open directly a standard socket number with a user that is not root.
I currently use the iptable NAT rules, but I wanted to put…

Jérôme B
- 142
- 2
- 7
0
votes
0 answers
How can I route a secure socket connection to different destination servers via a proxy?
My task is to address different servers via secure socket connections at the destination.
But the problem is that you can not specify different target servers over normal socket connections. Also, there is no way, as with HTTP(S) via header, to…

egmontr
- 33
- 1
- 5
0
votes
1 answer
Uderstanding netstat output
When I run netstat -b on Windows 10
I get lots of results of similar nature
TCP 127.0.0.1:64248 LocalHostName:64249 ESTABLISHED
[w3wp.exe]
TCP 127.0.0.1:64249 LocalHostName:64248 ESTABLISHED
[w3wp.exe]
I would like to know…

Kimi
- 213
- 1
- 2
- 6
0
votes
0 answers
Firewall blocking data transmitted through Python socket
I have an application written in Python 3 which communicates with an external SIP proxy server through its public IP. Basically the application I wrote sends out a SIP invite to the SIP proxy through an UDP socket. Unfortunately when I run my…

Vino
- 101
- 1
- 3
0
votes
1 answer
Unable to stop an invisible socket on port 80
I want to run my Apache server but I got this error:
# /usr/sbin/httpd -k start
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
I used…

Pierre
- 83
- 9