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.

learn more… | top users | synonyms

0
votes
2answers
30 views

HAProxy max session limit

I have an Amazon OpsWorks stack running HAProxy (balance = source) and several node.js instances running socket.io. It seems HAProxy determines the max session limit for a given instance based on the ...
0
votes
0answers
15 views

Changing motherboard with a different socket type and CPU [closed]

I'm planning to change my motherboard to a AM3 socket, my socket now is a FM2 do I need to reformat all my drivers or just the driver with the OS on it?
0
votes
0answers
19 views

wsgi nginx error: permission denied while connecting to upstream

There seem to be a few questions on stackoverflow and serverfault about this but unfortunately nothing has worked for me. I'm getting a 502 bad gateway on nginx, and the following on the logs: ...
0
votes
0answers
12 views

Socket Error 10054 - VS2013 Web Deploy Failing

I'm having trouble completing a web deploy from VS2013 as I posted in VS 2013 Web Deploy failure: Warning : Retrying the sync because a socket error (10054) occurred Apparently web deploy uses port ...
3
votes
1answer
48 views

Nmap external scan shows port open, ASA says port is not open, but do get an socket

Folks, have a weird one, need your expert help. For one of our heavily used external facing server which came up in an audit, nmap -Pn scan shows the following: Starting Nmap 5.51 ... Host ...
1
vote
2answers
41 views

nginx - why i can't use variables in proxy_pass path?

Why i can't use variable $user in proxy_pass - like in example below? server { listen 80; server_name ~^(?P<user>[a-z|A-Z|0-9|_|-]+)\.example\.net$; root /home/$user/webapps/; ...
0
votes
0answers
4 views

Scripted write-then-read from Unix domain socket using socat [migrated]

I have a simple server listening on a Unix domain socket (on a CentOS box in case that's important). When I send the command "DATE" to the socket it writes back a welcome message and then "APRIL 15 ...
1
vote
0answers
114 views

Siege: descriptor table full sock.c:119: Too many open files

I am trying to make a stress test in my own server using siege with the following command: $ siege -c 500 myweb.com/somefile.php But I get this error: [error] descriptor table full sock.c:119: Too ...
1
vote
0answers
31 views

After sending Duplicate ack by the server, it stop responding [closed]

My TCP client communicates with multiple 3rd TCP servers. However one particular server produces duplicate ack and stop responding in the specific time only. That particular server is OK other time. I ...
0
votes
1answer
313 views

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 ...
0
votes
2answers
125 views

How to let PHP connect to database by using UNIX socket (Joomla)

I'd like to have my PHP applications such as Joomla make use of the UNIX socket to connect to the local mysql database. I've already configured the php.ini with: mysqli.default_socket = ...
0
votes
0answers
27 views

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 ...
3
votes
0answers
247 views

WebRTC on standalone asterisk - no audio

After struggling with Asterisk for WebRTC for a few weeks now, I decided to put my problem on this forum. My Problem is as follows: Im not getting audio from WebRTC to WebRTC clients. I work in a LAN ...
0
votes
1answer
124 views

Can't boot Mysql on Centos 7

I've installed mysql on Centos 7 (mysql-community-server) as root. The problem is that I can't start the daemon with "service mysqld start", It never return me to prompt and even if I try to use ...
0
votes
0answers
71 views

Yet another “Can't connect to local MySQL server through socket” after a security update

SOLVED As yoonix pointed out, it was only an issue with the root partition being full... Thanks for your help! - So yes, this question has been asked several times, here and elsewhere. I apologize ...
0
votes
0answers
49 views

Writing to Unix Domain Socket from rsyslog

I want to write output messages from rsyslog to a Unix Domain Socket. I want to do this so that I can read the messages from that socket using my script and parse log messages further. I try to use ...
1
vote
0answers
202 views

Performance issues with Apache + Django + socket.io (long-polling) + Proxy

I'm trying to set up a website with django, apache and socket.io. Thanks to some tutorials and other stackoverflow questions, I managed to make everything work, except for a severe lag, that occurs ...
2
votes
2answers
87 views

Limit to number of listening ports in linux

I have tried to launch a script to listen to thousands of tcp ports (1000 to 10000) but it appears to be hitting a limit of 1024 listening ports. I've confirmed this via netstat and closed ports above ...
0
votes
0answers
89 views

Nginx websocket proxy incorrect response

I was trying to set up nginx as a proxy to my server (Goliath) which happens to be serving both regular and websocket connections. This is my setup: upstream goliath { server localhost:9696 ...
0
votes
1answer
32 views

same port opened - one on the asterisk (*) address and one on localhost

running on Mac with two jetty instances i've arrived to this peculiar situation: ~$ lsof -ni :9905 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME java 40320 ******* 394u ...
2
votes
1answer
46 views

php-fpm: What is the bottleneck for accepting connections faster?

On a php5-fpm status page, what is the bottleneck that is preventing my server from accept()'ing new sockets fast enough? pool: www process manager: static start time: ...
0
votes
0answers
97 views

Client can't connect the server using Web Socket Protocol

I have a WebSocket WCF based server. a web (HTML) client is connecting this server using WebSockets. The server worked well with all clients, till we stumble a client, Chrome (And Firefox) running on ...
-2
votes
1answer
19 views

Is it possible to bind a socket with NIC Queue?

when i open a new socket linex system automatically bind it to a NIC queu. Currently i have two sockets and i want to bind them to two different NIC queues. My question is 1)Is it possible to bind ...
0
votes
1answer
47 views

nginx handle multiple locations for one server

I need to setup a virtual host to run my users.example.com website. It needs PHP support via php-fpm. The ideia is to have a mapping like this: users.example.com/~user1/folder/file.php -> ...
1
vote
2answers
179 views

Postfix & Amavis - Use UNIX Soket for Communication

I currently using a complex mailserver setup using Postfix, Dovecot, Amavis and Spamassassin. Everything works fine but I want to improve the Postfix-Amavis-Communication. At the moment, postfix will ...
2
votes
1answer
319 views

SELinux: no audit errors but nginx permission errors

I try to isolate a SELinux problem with nging/munin. I see that error message in "/var/log/nging/error.log": [crit] 8802#0: *55 connect() to unix:/var/run/munin/fcgi-html.sock failed (13: ...
0
votes
1answer
214 views

apache mod proxy_wstunnel invalid utf8 during websocket upgrade

I am experiencing an intermittent problem when connecting the jetty web-socket client to the server. The good people at Jetty assure me it is not a problem with Jetty. On the server side I have ...
3
votes
2answers
89 views

source address with iptables port forwarding

I set up port forwarding for port 80 with iptables: iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 10080 Additionally, I have ip forwarding enabled to route connections ...
2
votes
0answers
182 views

How to deploying Node.JS without interrupting service? [closed]

There are some blog posts and questions written about this, but they are mostly from 2010 or 2011, and I was hoping for a more up-to-date (2014 era) answer. I have a pretty standard Node.JS ...
0
votes
0answers
61 views

How do I know the remaining buffer space?

There is a socket error 10055, meaning "No buffer space available". But what is this buffer space and how do I know, how much of it is still available? At the time I've got this error, the server had ...
0
votes
1answer
304 views

Deploying node.js application on Ubuntu VPS

I created an real time android application backed by a node.js application. I use express, socket.io, mongodb and ubuntu for my backend. But my problem is on how I can possibly run it in production or ...
1
vote
1answer
298 views

High # of sockets in TIME-WAIT state, server unresponsive at load

Our app became unresponsive at high loads, with longer wait times. Process usage was abnormally low (~15% CPU utilisation per process, our app runs on 8 processes). Nginx error log output showed a ...
0
votes
0answers
35 views

WinServer 2003 R2: Socket Error#10060

So I inherited a legacy in-house application, that is supposed to have printing functionality. However, whenever a user prints, it conks out with the following error, "Message: Socket Error #10060, ...
1
vote
1answer
172 views

Using nginx to proxy multiple instances of sockets.io

I have two separate node.js applications running behind nginx. Both the apps use socket.io and express. One is served on port 5000 and the other on port 5001. But we need them both accessed through ...
0
votes
1answer
392 views

IIS Reverse proxy and websockets, failed websocket handshake

I am running a little website using IIS 7.5 on Windows Server 2008 R2. I've got a node.js application too running on port 3000. Http calls from the website (client browser) are reverse proxied from ...
1
vote
2answers
416 views

Check if a path exceeds maximum for Unix domain socket

Operating systems limit the length of a path of a Unix domain socket. How can I check whether a particular path is within that limit? Or, to put it another way, how can I check the maximum permitted ...
1
vote
1answer
384 views

Milter service needs transport:endpoint instead of “/var/run/opendkim/opendkim.sock”

I have set postfix with milter based on this tutorial: https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-dkim-with-postfix-on-debian-wheezy But then posptfix reported that ...
0
votes
1answer
88 views

What better solution to adopt for client server system implementation by java sockets

I need some advice from someone experienced in networking. I have already created a system designed to monitor some tasks (5-30) that are written in java started by a auomatic scheduler or by ...
0
votes
0answers
160 views

novnc apache2 reverse proxy code 1006

I just installed webvirtmgr but the noVNC console is not working (code 1006). The detailed error of the google chrome console is: [blocked] The page at ...
0
votes
1answer
320 views

nginx reverse proxy for websockets with SSL

I am trying to configure nginx (installed via macports) on my osx development machine. I am trying to reverse proxy localhost:12346/trade to a websocket connection which is available on port 12346 at ...
-2
votes
3answers
153 views

understanding resolv.conf nameserver through system calls [closed]

I am trying to understand how /etc/resolv.conf /etc/nsswitch.conf exactly works and what is significance of nameserver entry 127.0.1.1 I did strace ping google.com to get to know about the system ...
-1
votes
1answer
66 views

understanding resolve.conf nameserver through system calls [duplicate]

I am trying to understand how /etc/resolve.conf /etc/nsswitch.conf exactly works and what is significance of nameserver entry 127.0.1.1 I did strace ping google.com to get to know about the system ...
0
votes
1answer
199 views

Connect with Java to Amazon EC2 instances

I have written a client-server application in Java and I want to run it on Amazon EC2 Ubuntu instacnes. The client runs on an EC2 instance and the server on one and the third EC2 instance is for ...
0
votes
0answers
35 views

Network error when running multiple Virtual Boxes

I have a Ubuntu 14.04 physical desktop that's running some Virtual Box instances (also Ubuntu) through Vagrant. The Virtual Box instances are configured to use static ip and with "natdnshostresolver1" ...
0
votes
1answer
99 views

Trouble getting Unicorn to talk to Nginx

I've seen all of the other questions on here but none of them seem to work for me. Whenever I try and access my site I'm getting a connection refused error through the nginx logs. I'm assuming there ...
0
votes
1answer
169 views

How to monitor socket connection usage and exhaustion on a server?

I have a service endpoint (java) that will be getting bursts of thousands of requests per second. In my load testing I had to tweak the server because I would run out of open sockets as there were ...
1
vote
1answer
611 views

NGINX: How to proxy http(s) traffic to one server and ws(s) traffic to another?

I'm new to nginx and how it handles locatoins, and was hoping to get help for a problem I'm having: On the same server I have an Apache web server and a websocket server. Apache works on port 8080 ...
1
vote
2answers
571 views

Send Text String to a Socket In Windows

I have a server that has an open socket that listens for a particular text string on it in order to perform an action. Our linux machines send this data via: echo "text_string" | nc -w 2 ...
0
votes
0answers
59 views

pfctl for diverting socket?

I have been trying to use divert socket with pfctl but no luck yet. Basically, I want to use what I could do with ipfw as below with pfctl: ipfw add divert 5000 ip from any to 4.2.2.4 Now I want to ...
0
votes
2answers
2k views

Configuring port in iptables for websockets

I'm implementing Ratchet's push example in my server (websockets) on port 9090. These are current iptables policies: [root@myserver ~]# iptables -L -n -v Chain INPUT (policy ACCEPT 309 packets, 22420 ...