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

2
votes
1answer
880 views

Maximum limit of filepointer in php reached and not changeable

I have a server with the current 5.3.x version installed. Since we are running a really simple and small server in php using sockets, that connects to a lot clients using sockets we need to raise the ...
1
vote
1answer
152 views

Increase number of connections per socket

How do I increase the number of connections each socket can accept? I know that you can increase the total number of connections using: # sysctl kern.ipc.somaxconn=4096 But each connection is then ...
1
vote
1answer
331 views

Uwsgi and flask with unix socket instead of URL

I was trying to find out the difference between a socket as a unix file and a socket that is a ip and port. If I switch something like uwsgi to use a file instead of a port and ip, how do I then ...
0
votes
1answer
2k views

NGINX connect() to unix:/var/run/php-fpm/vhost.sock failed

I use Centos 6.5 (64bit) with Nginx, PHP-FPM. Nginx with fastcgi connect to PHP-FPM using unix domain socket. When I place the socket in a directory with proper permission, it's ok. However when I ...
0
votes
1answer
282 views

Uwsgi - Socket file or URL

I was installing UWSGI and it looks like for the socket I can specify either a URL and port or instead I can specify a socket location file. I was wondering if anyone can tell me what the difference ...
0
votes
1answer
377 views

Issue with Dovecot connection staying alive : memory or configuration issue?

I had a similar question posted a while ago, and I Thought it fixed my issue, but that was unfortunately not the case. I have a benchmark application which connects about 500 users to a Dovecot 2.2.5 ...
0
votes
1answer
138 views

ipv6 port 445 does not accept the request from a global type address

I want to scan port 445 on my Windows server 2003, but my scanner only has one type ipv6 address which is global not link-local. When I do this, I find that I can't find port 445 open. But I use the ...
0
votes
1answer
609 views

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

The IP address on my server recently was changed, and after the change, i performed a restart and when it came back online MySQL stopped working. I am running Debian 6. I type mysql -u username -p ...
0
votes
1answer
512 views

Postfix socket responses problem

I am writing a program in Flex/Actionscript and using an Apple OSX server running Postfix. If a mail canot be sent, it is stored in a database to be sent at a later date. My problem is that if I ...
0
votes
1answer
158 views

MySQL Server Connection Socket Error

i just compiled MySQL 5.1 on SunOS 5.11 (i think xD) and now i have some problems. I am able to start the server via ./bin/mysqld_safe & and i can run the mysql* tool in /bin via Putty, however ...
3
votes
0answers
419 views

Unix socket connection limit

This may appear like an already discussed/answered question. But I am specifically looking for info which I couldn't find anywhere answered clearly. I have an Nginx + php-fpm setup which uses unix ...
2
votes
0answers
2k views

How to solve SocketException: Permission denied: connect

I recently encountered a problem that is giving me a headache and I need help ... The System consists of two subsystems, called A and B, each running on a standalone Tomcat instance and currently ...
2
votes
0answers
109 views

How do I find the path of socket?

Is there any method that can allow me to find the path of socket if the type of socket is PF_UNIX? And I have another question: let's assume that I have the following output of lsof: COMMAND PID ...
1
vote
0answers
239 views

Suphp connection reset by peer in error logs

In my Linux server's logs I have this record nearly every 5 minutes. I couldn't find the reason for two weeks and I would be very happy if you can recommend me a way to diagnose the problem. It is ...
0
votes
0answers
14 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, ...
0
votes
0answers
23 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
0answers
45 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
0answers
92 views

FreeBSD jail (ez-jail) “connect: Operation not permitted” ONLY for endpoints routable from a particular interface when jail is bound to a `bridge`

Edit I answered my original question: basically, binding the jail to a bridge interface was the problem. Now my question is, why is this the case? Is there a way to get it to work with a bridge ...
0
votes
0answers
34 views

windows GUI app open “fake log file” redirect log to tcp socket?

Lots of windows GUI application can save log to a local log file, but the log file have to be file in local driver or network mapping driver. for example: c:\log.log I want to know whether it is ...
0
votes
0answers
244 views

socat UNIX to TCP-LISTEN raw

I have a virtual machine on Linux host which uses a virtual serial port connected to a UNIX socket as I/O. I would like to access this socket using TCP with working control characters (ctrl+c, ...) ...