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.

Filter by
Sorted by
Tagged with
1 vote
0 answers
501 views

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. ...
zafar_sust_bd's user avatar
1 vote
1 answer
70 views

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 ...
Suvitruf - Andrei Apanasik's user avatar
1 vote
1 answer
1k views

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 ...
Peter Klipfel's user avatar
1 vote
0 answers
2k 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 ...
Port 8080's user avatar
  • 123
1 vote
0 answers
400 views

Weird socket behavior in VirtualBox (NAT + PAT)?

I have a Linux VM with NAT and PAT configured. Let's say ports 2000 and 2001 are forwarded to the VM. These ports are also configured for external access on a device such as a router using a domain ...
xikkub's user avatar
  • 149
1 vote
1 answer
2k 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 ...
cheesesticksricepuck's user avatar
1 vote
1 answer
183 views

Debian 7.4 drops UDP traffic randomly

I'm running Debian 7.4, KVM VPS with the latest updates. I'm getting UDP ports randomly closed for 2-10 minutes for no reason. I'm running gaming servers and the port tester shows the ports are closed....
Gallardo994's user avatar
1 vote
1 answer
13k views

WebSocket Connection closed before receiving a handshake response

Due to WebSocket connections I am facing issue and due to this other response to stop receiving. I have configured BIMServer to response back to my application and render 3D view loading individual ...
Vimal Panchal's user avatar
1 vote
1 answer
2k views

Servicing ws:// in Node.js via Tomcat and Apache

I've Googled various combinations of keywords but I cannot find a suitable description of what to do to get this to work. Currently, I have a web site running Apache 2 with everything except ports 80 ...
Ken Y-N's user avatar
  • 115
1 vote
1 answer
1k views

Use stunnel for Socket.io SSL support

I am trying to add SSL support to my node.js app, while connecting via socket.io. The traffic to socket.io is going to port 80. I would like stunnel to grab encrypted traffic from port 443, unencrypt ...
Kuf's user avatar
  • 449
1 vote
0 answers
3k views

Apache2 mod_proxy_fcgi closes a connection after each request

I set up mod_proxy_fcgi do go with apache and php-fpm. If I read the FCGI spec correctly, the typical flow for the communication between a server is to keep the connections between the web server and ...
julkiewicz's user avatar
1 vote
1 answer
2k views

Nginx proxying websockets, connections not closed

I'm confused about where the problem is located, but basically I have nginx proxying websocket connections to a backend ruby thin server, which services the connections with the websocket-rails module ...
Flemming Funch's user avatar
1 vote
0 answers
2k views

Configuring Nginx reverse proxy with SSL and websocket

I'm running a web app that is using websockets and have nginx as a reverse proxy for that and that works fine. I've also been able to get SSL to work without the socket. Now we're nearing the official ...
jesseniem's user avatar
1 vote
0 answers
1k 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 ...
trante's user avatar
  • 131
1 vote
0 answers
384 views

SocketException (Timeout) only when running as scheduled task

I'm running a C# web-scrapper application (that I wrote) on a Windows Server 2003 instance under a user belonging to the local Administrator group. When I run it within a desktop/remote-desktop ...
BVartin's user avatar
  • 31
1 vote
1 answer
6k views

Should You Continue Polling Socket For Readiness After An EAGAIN or EWOULDBLOCK Error?

I am creating a web crawler with a multiplexed download manager using Linux epoll (Linux 2.6.30.x). I pick links from a database of over 40,000 domains (each domain having between 1 and 2000 urls), a ...
EdNdee's user avatar
  • 123
1 vote
1 answer
638 views

Nginx + SSL + Rails + Juggernaut (Node.js) + Engineyard

I have two different applications on the same server. One of them is running on the 80 port (mydomain.com), another on the port 443 (sub.mydomain.com) and has wildcard certificate. The first ...
Aleksey Eliseev's user avatar
1 vote
0 answers
171 views

Whats going on with mySQL

I am trying to install this application named socialengine and all is going well except on the mysql screen i keep getting this error The MySQL storage engine is not installed. I notice my sock ...
Matt Elhotiby's user avatar
1 vote
0 answers
332 views

Heavily loaded ubuntu machine connection timeout

I've got a webserver running Ubuntu 10.04 Server edition (on rackspace cloud), running nginx and jetty. It's under quite a bit of load (60-70 requests/sec or so successful). Nginx is proxying requests ...
user avatar
1 vote
2 answers
741 views

New to Ruby on Rails, having socket trouble with MySQL (on Mac OS X) [closed]

This is my first question on serverfault, although I have used stackoverflow before. I am in a Ruby on Rails class over this summer and need to get RoR running ASAP. I used MacPorts to install Ruby, ...
adam_0's user avatar
  • 113
1 vote
1 answer
408 views

closing ssh ControlPath

I found the instructions on kerneltrap's mail archive: "scp batch mode?" to be insightful an useful, however when I issue the command to close the connection # Bring the connection down. ssh -S /tmp/...
Chen Levy's user avatar
  • 283
1 vote
1 answer
196 views

Socket application failed in NAT

We have a socket application (client and server) which runs in our environment. In our client site they're using NAT. When I try to connect my client (from a NATed IP in client's NATed environment) ...
user avatar
1 vote
1 answer
491 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 uWSGI....
Colpaisa's user avatar
0 votes
4 answers
12k views

Do all LGA 1155 Motherboards work with all LGA 1155 CPUs?

Hardware is an area that I have very little competence in. I've recently been tasked with the creation of a new server for the company I work for. I've priced out a motherboard and CPU for the ...
Zell Faze's user avatar
  • 343
0 votes
4 answers
18k views

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

My sincere apologies for asking something that obviously has been answered before. The fact that I'm posting is that i would like to be absolutely sure since it's about a live server running currently....
black sensei's user avatar
0 votes
4 answers
2k views

Understanding iptables chains in linux (in socket terms)

Is it true to say: A) OUTPUT chain is for the packets that are "generated" by the machine itself i.e. OUTPUT chain affects connect() function. B) INPUT chain is for packets that are "addressed to" ...
shayan's user avatar
  • 167
0 votes
2 answers
5k views

Windows Server 2008 network limitations?

Please tell me: Are there some limitations on connection/socket/http in Windows Server 2008 R2 editions family? For example i am pretty sure that some of servers will have 100+ connections (by ...
Edward83's user avatar
  • 123
0 votes
2 answers
1k views

How to configure mysql to connect via sockets?

My mysql server is installed on the localhost machine where my php scripts are stored. So is what they say right that it's safer to connect to mysql from php that is placed in the same server? If so, ...
datasn.io's user avatar
  • 279
0 votes
5 answers
11k views

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's user avatar
  • 11
0 votes
2 answers
4k views

Bind a tcp socket below 1000 with a non root user using Systemd, java and Ubuntu 16.04

I wanted to try socket activation with Systemd and Java on my ubuntu server 16.04. My idea is to make my program able to open directly a standard socket number with a user that is not root. I ...
Jérôme B's user avatar
0 votes
2 answers
17k 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 ...
Andres SK's user avatar
  • 238
0 votes
1 answer
155 views

Is there a "server" version of telnet? [closed]

If I want to quickly connect to a socket as a client and type something I can use telnet. Is there a version of telnet or a similar program that provides the server-side of this? In other words, is ...
CaptainCodeman's user avatar
0 votes
1 answer
302 views

Why don't I see the TCP handshake in the HTTP server?

When I create a simple http server (a socket listening to a port) I don't see the actual TCP handshake taking place. Why is that? Why is it hidden from me? For example if I start a server on port ...
Liga's user avatar
  • 135
0 votes
1 answer
868 views

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, ...
Hassan Baig's user avatar
  • 2,545
0 votes
3 answers
489 views

MySQL Not Turning On

I have an amazon ec2 instance running on the Amazon Linux AMI and its a micro instance. I wanted to install Django onto my server so I entered these commands wget http://www.mlsite.net/blog/wp-...
Shalin Shah's user avatar
0 votes
1 answer
4k views

Server offer with "2-sockets and 1 virtual guest", what does this mean?

I've read in a server support website that they offer a "2-sockets with 1 virtual guest" packet for a Linux Server.. but what does the "2-sockets" part mean? I know servers may be virtualized but I'm ...
keokeo22's user avatar
0 votes
2 answers
640 views

Bandwidth Monitor

I am creating a bandwidth quota program in PHP, however I am finding that to create it with PHP is a bit hard. As an example of what I am trying to do, the user can download 10GB per day, and after ...
Saxtor's user avatar
  • 123
0 votes
1 answer
148 views

php-fpm creats only one socket file

I have multiple virtual hosts with unique domain names, users, and root directories for each on Nginx and php8.1-fpm. In the /etc/php/8.1/fpm/pool.d/domain.com.conf contains user = domainuser group = ...
Dev Guy's user avatar
  • 127
0 votes
1 answer
228 views

Python gethostbyaddr being slow

I'm facing an issue today I can't explain and I'm hoping someone will be able to put me in the right direction. I have a fleet of EC2 servers running a python script. When a user connects to my ...
Cyril N.'s user avatar
  • 626
0 votes
1 answer
460 views

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 ...
SynAckRst's user avatar
0 votes
1 answer
361 views

Why does Tomcat 9 have established connections on localhost

I'm trying to understand why Apache Tomcat 9 has certain established connections that are via localhost. I'm using the Apache Tomcat 9 on windows. See below, I'm looking at the TCP/IP section in ...
Aditya K's user avatar
  • 923
0 votes
1 answer
2k views

Connecting to a python socket behind a router

I have a Python script on my server which opens a socket that can be connected to from anywhere. It works on my digitalocean test server that has a public IP as shown by ifconfig. It does not work on ...
slaw's user avatar
  • 105
0 votes
1 answer
2k views

How can HTTP work over UDP (in the case of Google's QUIC protocol)? [closed]

Here is my understanding of how a client-server HTTP server works. The client creates a TCP socket connection to connect to the server and sends data. The server creates a TCP socket connection to ...
Liga's user avatar
  • 135
0 votes
1 answer
2k views

Unable to stop an invisible socket on port 80

I want to run my Apache server but I got this error: # /usr/sbin/httpd -k start (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, ...
Pierre's user avatar
  • 83
0 votes
1 answer
497 views

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/...
Roozaay's user avatar
0 votes
1 answer
2k views

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 ...
Peter Kaminski's user avatar
0 votes
1 answer
440 views

kill tcp port binding by deleting proc/[0-9]/net/… in linux

I have a script to call syscall Kill the process that holds a certain TCP port in Linux (ubuntu). But even if I do that, sometimes the port still remains in /proc/[0-9]/net directory binding the port. ...
asdsadasdmes.1qwrnewkbjrkwj's user avatar
0 votes
1 answer
129 views

Will internal API calls be treated as DDOS attacks by AWS?

I have a nodejs development server. I am currently running on an AWS EC2 micro AMI. I have a hardware device which continuously submits data to this server via socket. The server then calls an API, ...
Jaseem Abbas's user avatar
0 votes
1 answer
212 views

Keep connections of closed instances behind a load balancer

I'm looking for a system to create a live sockets application through sockets.io and that can be balanced without problem. There are tons of solutions to balance the load between multiple socket ...
Jorge Fuentes González's user avatar
0 votes
1 answer
6k 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 ...
Egidi's user avatar
  • 101

1
6 7
8
9 10
12