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
1
vote
0 answers
Listening to 127.0.0.1:9000 but var/run/php5-fpm.sock failed (2: No such file or directory)
I have a webserver configured to accept FastCGI requests at 127.0.0.1:9000 like below.
/etc/php5/fpm/pool.d/www.conf:
listen = 127.0.0.1:9000
/etc/nginx/sites-enabled/mysite:
location ~ .php$
{
if (!-e $request_filename)
{
rewrite…

laketuna
- 125
- 10
1
vote
1 answer
Simpliest unix non-blocking "broadcast" socket
I have non-regularly running program which outputs string, I need to send this output to some kind of socket which can be distributed out of docker container and which can be listened by multiple listeners or even none.
I know standard FIFO named…

user2216697
- 121
- 4
1
vote
1 answer
Socket IO combined with apache ssl server
I'm trying to run a NodeJS server on port 8000 along with my Apache server which has a ssl certificate. I'm using virtual hosts and proxypass to link from my apache website through the /node path to my NodeJS server.
The problem I'm having right is…

Crecket
- 121
- 1
- 6
1
vote
1 answer
Cntlm error: too many open files
As the title says i have got some issues with Cntlm. I'm working with the 0.92.3 version and launched from the source code. What i am trying to do is starting Cntlm as a standalone proxy with localhost configuration, to browse internet and launch…

Basionkler
- 11
- 1
- 4
1
vote
3 answers
Cannot connect to mysql server ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
i try to connect to mysql server but it gives me socket issue i have edited my.cnf from /var/lib/mysql/mysql.sock to /home/mysql/mysql.sock
Nb: the issue exist before moving mysql db file to the new directory.
[root@dc ~]# /usr/bin/mysql -u root…

Omer Stimpack
- 205
- 1
- 3
- 12
1
vote
0 answers
Php-fpm corrupts my socket permission on startup
I've installed Apache2.2 with FastCgi module, and PHP-fpm on a Centos server.
I configure FastCgi with an external server using the socket option:
FastCgiExternalServer /var/www/cgi-bin/test/php.fcgi -socket /var/run/php5-fpm.sock -pass-header…

Fractaliste
- 151
- 1
- 6
1
vote
0 answers
nginx won't connect to my socket due to insufficient permissions
I have the following setup for nginx and uwsgi to serve a cgit instance.
# cat /etc/uwsgi.d/cgit.ini
[uwsgi]
plugins = cgi
uid = nginx
gid = nginx
socket = /srv/http/cgit/cgit.sock
procname-master = uwsgi cgit
processes = 1
threads = 2
cgi =…

janoliver
- 133
- 1
- 8
1
vote
0 answers
Wireshark RST against TCP Zero Window
During application sharing with Microsoft Lync Client (Mac OS X), TCP ACK with RST flag is sent from my application end to Lync end against TCP Zero Window packets and call gets dropped.
Image Link.
FYI:
My Application End: 172.16.6.106:55848
Lync…

zafar_sust_bd
- 11
- 3
1
vote
1 answer
Java TimeoutException on Ubuntu on SoftLayer
I have java application, that works fine on my local machine.
But when I'm trying to start it on SoftLayer, ALL connection is toooo long.
For example, simple http connection via HttpAsync or others (socket, etc.) lasts 1-2 min. But after connection…

Suvitruf - Andrei Apanasik
- 142
- 1
- 1
- 8
1
vote
1 answer
Dest host dont accept UDP when there is no route to source
I have three hosts with following config:
Host A: IP:192.168.1.1/24
Host B: IP:192.168.1.2/24
Host C: IP:192.168.3.1/24
Everything happens on CentOS 6, and all interfaces are VLAN tagged (if it makes any difference here).
I am sending UDP traffic…

Kamil Z
- 177
- 1
- 7
1
vote
1 answer
icinga2 mysql connection issue
I followed all the install wizards When setting up icinga2, I have the following error:
SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (13)
I tried using the mysql command line utility, and I…

Peter Klipfel
- 141
- 6
1
vote
2 answers
Redirect subdomains to services on different ports of same server
I have a VPS which has 1 IP. If I run two socket servers, one on port 8080 and the other on port 8081, is there a way I can map service1.mydomain.com to the socket server on port 8080 and service2.mydomain.com to the socket server on port 8081?
I am…

user2370460
- 213
- 1
- 3
- 7
1
vote
2 answers
Can no longer open files in linux server!
We have a linux server running fine in prod for weeks, until our user base started to grow and our java server started to fail in many places! It turns out that all files and sockets are failing because it is returning "too many files open". I…

erotsppa
- 2,113
- 6
- 23
- 24
1
vote
1 answer
node.js, socket.io only working on localhost, can't access from intranet
I am using node.js and socket.io for the real time notification system. I have tested node.js and socket.io with simple chat code, it pretty good with localhost but can't access the same from the another system which are connected locally with same…

askm3
- 19
- 1
- 1
- 2
1
vote
1 answer
How to work whit socket_file httpd (nginx-uwsgi)
I am trying to run Nginx/uWSGI/Django, the last remaining step is to run the socket_file all I get is a 502 Bad Gateway.
Route my django application.
#/home/deploy/webapps/myapp
Configuration uWSGI.ini
[uwsgi]
chdir =…

Colpaisa
- 23
- 4