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
2 answers

How to setup Nginx and PHP-FPM socket

This is my third attempt at posting this question now after incorrectly posting to both super user and Stack Overflow. Hopefully this is now the right place! I have taken over managing the company's web hosting, which is an AWS server running…
Edward144
  • 153
  • 2
  • 2
  • 5
0
votes
1 answer

How to modify Socket Close time for Unreachable IP on Windows?

First of all, please look this question to understand what I mentioned. When I try socket close in windows OS for unreachable IP with UDP, I got the three-second delay. As you can see from the results there is the three-second delay in Windows OS.…
0
votes
1 answer

Running a HTTPS SSE server over Kubernetes/Ingress and Google Cloud Platform

I'm running a SSE server on a VPS and it works perfectly, no problems at all, but due to scalability reasons I needed to move it to another server. I moved the server to Google Cloud Platform/Google Container Engine and Kubernetes/Ingress. But now…
0
votes
1 answer

What's the rtnetlink behavior if adding or removing ethernet to/from bridge?

While I am studying on RTNETLINK, I understand that the kernel will send RTM_ADDLINK or RTM_DELLINK if interface is added/removed at kernel space. However, I have a question regarding to the RTNETLINK message if adding or removing ethernet to/from…
0
votes
1 answer

Comparing the kernel's net.ipv4.ip_local_port_range setting to a webserver's port setting

Being new to webservers, I need to clarify a concept. Apologies if this is a less-than-stellar question. It's recommended to set net.ipv4.ip_local_port_range = 1024 65535 in sysctl.conf. However, for a specific web application, nginx is programmed…
Hassan Baig
  • 2,325
  • 12
  • 29
  • 48
0
votes
0 answers

502: Connection reset by peer when using systemd-socket-proxyd to activate fpm on-demand

The setup: An nginx container vhost manager which uses systemd to automatically spawn php-fpm containers when their respective vhosts are activated. The configuration: A shared volume for sockets in /var/run. systemd-socket-proxyd used to listen on…
DMCoding
  • 492
  • 5
  • 11
0
votes
1 answer

How can I force a refresh of what ports have listeners

I'm trying to re-launch a WCF service that I killed earlier, but I'm getting an AddressAlreadyInUseException. The port it's attempting to use is 1819. I ran netstat -nao from the command line, and have found there is a listening process on port…
reustmd
  • 107
  • 1
  • 9
0
votes
1 answer

Weblogic doesn't close files (but does close connections)

Dears, we're running into a 'too many open files' issue. We've made some progress but the issue is still there... We use cxf on weblogic on aix. relevant cxf configuration:
SanThee
  • 113
  • 5
0
votes
1 answer

Run two apache (httpd) servers on CentOS 6

I'm actually working on an old CentOS 6.5 server during my internship in a society that produces maps. I worked last month on a CRM implementation that runs on an apache2 located in /usr/local/apache2/ and uses some ports. My boss recently asked me…
Roozaay
  • 3
  • 2
0
votes
1 answer

Nginx won't start -- .sock file not found/no such directory

I'm trying to run my django application using uwsgi and nginx. It's been working for the past month, but today I edited file in the /sites-enabled/ dir and now nginx won't start. Here are the error logs from nginx Update Was able to get nginx…
0
votes
0 answers

Client socket connection starts working only after being pinged by server?

I have a networked game I'm testing on a LAN. I'm using RakNet as my networking library. Generally everything works fine, but sometimes the client (an iPhone) seems to get "confused" when initiating a connection to the server (a Macbook on the same…
aardvarkk
  • 103
  • 5
0
votes
2 answers

Binding conflict with iptables rules

I m developing a server in C which bind on a random port I m afraid that the choosen random port could conflict with iptables rules. I mean if the choosen port could be already exist in iptables as a forwording port. How I can check if the choosen…
MOHAMED
  • 151
  • 7
0
votes
1 answer

Make init script output available without hitting the filesystem

I'm working on an init script for a command which writes extensive activity messages to stdout. The output is only useful for debugging and since it will be running on a Pi, I don't want these messages be written to the filesystem. Is it possible…
svoop
  • 145
  • 1
  • 6
0
votes
3 answers

Opening a Port tcp and telnet

I have windows server 2008 and want to open a port say 2342 for tcp and telnet access i have added a firewall exception create rule but when connecting to it returned "Connection Refused" error in all the following manners Through .net socket…
Ankur Sachdeva
0
votes
2 answers

OpenVPN and nginx port sharing : Adress already in use

I have an instance of nginx running on ports 80 and 443, and I would like to use openvpn with the port 443 in sharing. So in my server.conf I have this port 443 port-share 127.0.0.1 4433 proto tcp ;proto udp And in my nginx.conf http { …
LnlB
  • 1
  • 2