Questions tagged [socket]

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.

564 questions
0
votes
1 answer

Not seeing a packet sent from a client to the server in Wireshark

I am new to socket programming and have a couple of questions. For the context, I have a server and client with each having a socket opened: the socket on the server is bounded to INADDR_ANY which from my understanding listens to connection requests…
Jazzy
  • 101
  • 2
0
votes
0 answers

Curl : Recv failure : Connection Reset By Peer and Unix Socket Crash

I'm trying to set up a unix socket for gunicorn and to ping it from curl (running curl --unix-socket /run/gunicorn.sock http://www.example.com --trace-ascii dump.txt). Unfortunately, the response from Curl Each time is a curl: (56) Recv failure:…
NSinha
  • 1
  • 2
0
votes
1 answer

Serving multiple socket using gunicorn and Nginx cause a NotFound error

I am trying to serve two Flask apps using Nginx as a reverse proxy. In my default.conf which I have reloaded using sudo service nginx restart I have got: location /app2loc/ { include proxy_params; proxy_pass…
G M
  • 103
  • 5
0
votes
1 answer

simple systemd service and socket failing

I had a service I was trying to run this way but it was slightly a large python program. I took a step back and built a dead simple python program to see if I can get it to run. It fails when I try to connect via telnet to this socket running. …
Codejoy
  • 107
  • 5
  • 17
0
votes
1 answer

Simple code running in systemd exits to fast?

I had this old code base running in xinet d. It was basically a simple python script that waited for standard in to come in on a socket, it would do something with it and respond on standard out. So I heard xinetd is no longer used, so I tried to…
Codejoy
  • 107
  • 5
  • 17
0
votes
0 answers

Ububut 18.0.4 LTS:- unable to start TCP/UDP discard service on port 9 and time service on port 37

I have ubuntu client 18.0.4, I am unable to telnet localhost on port 9 and port 37. root@ubuntu:~# telnet 127.0.0.1 37 telnet: Unable to connect to remote host: Connection refused root@ubuntu:~# telnet 127.0.0.1 9 telnet: Unable to connect to remote…
0
votes
0 answers

Winsock error 10055 keeps reoccurring

We are having some problems with Winsock after releasing a new version of our software. We currently have 16 servers running Windows Server 2016 that all run an instance of this software. All these servers communicate to yet another server that acts…
0
votes
0 answers

Ethernet frames duplication when using VLAN interfaces

I have three processes on linux machine: First is using socket, which is bound to all network interfaces. The second is sending ethercat packets by using broadcast (ethercat doesn't use IP layer). The third is sending ethercat packets by using…
MBI
  • 101
  • 1
0
votes
1 answer

Is BBR congestion control available on my host or not

I have been looking into enabling bbr congestion control on some of our servers to test if they make any difference for our workloads. We are on Amazon Linux 2: # uname -a Linux ip-10-1-66-180.us-east-1.aws.dckr.io 4.14.173-137.229.amzn2.x86_64 #1…
milosgajdos
  • 1,828
  • 2
  • 21
  • 30
0
votes
0 answers

How to hold a port open without a live PID

I have some iptables port-forwards and I want to make SURE that no other process on the system uses those ports. I can bind() a socket myself, so other processes get EADDRINUSE, but if my process dies those sockets become available for use again…
Tim Hockin
  • 282
  • 1
  • 6
0
votes
1 answer

How to skip/fix NAT on raw socket output

I have a caching application that runs in userspace and provides acceleration services to clients running on external hosts elsewhere in the network. Briefly put, my program watches network traffic and does deep packet inspection to generate…
0
votes
0 answers

ssh tunnel from nagios to greenbone socket

i got 2 servers running. serverA is a monitoring solution check_mk. serverB is a vulnerability scanner with gvm20.08 (openVAS). On my monitoring side i want to retrieve scans, tasks, targets etc. from my vulnerability scanner ,through ssh. so i need…
alessio
  • 11
  • 2
0
votes
5 answers

Determine CPU processors vs. sockets though WMI

I have been unable to discover a way to determine what processors/CPUs/sockets are present in a PC/Server. Any suggestions?
Jagoop
  • 11
  • 1
  • 2
  • 4
0
votes
1 answer

Deploy Laravel and Socket IO into Nginx

I've deployed my Laravel project that using socket io on nginx here is the server spec : NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7…
0
votes
1 answer

Nginx Config for ws://:

I have a domain i call it and ip call and port , i wan't using nginx on my server (dns binded to my server success), my problem is that reverse proxy ws:// protocole to my server i send my request in two…
Morteza j8
  • 103
  • 4