I have trouble understanding this, for example:-  I have tried connecting to google server(via http process) and also tried connecting to Youtube(again http process), will different sockets be created for each connection?  if i have different sockets, will port numbers be different since a socket is a combination of IP and port and IP here is fixed(my computer)?
103405
This was a question raised by one of the software engineers in my organisation.  I'm interested in the broadest definition.
9555
My web server (Ubuntu, Nginx) have both IPv4 and IPv6 addresses assigned by the host. For my website, shall I bind it to only an IPv6 address? Is it the standard recommended way? Or, shall I use both IPv4 and IPv6 addresses?
70118
My apologies if this has been asked before. I haven't found an adequate solution so... yeah.  When a specific domain, "example.com" is accessed, I want it to act normally. In other words, it should go to port 80 as expected and interact with Apache.  When a different sub-domain, "mc.example.com" is accessed, I don't want it to access the Apache web server. I want it to go interact with a different program, listening on, say, port 4096. Thus, going to "mc.example.com" would have the same/similar function as "example.com:4096". The service is Minecraft  When a third sub-domain, "vpn.example.com" is accessed, I want it to go interact with a different service, listening on, say, port 687. The service is openVPN  Is there a simple way to do this? If so, what is it? Does it involve configuring a VirtualBox in Apache (a method I tried and failed miserably. xD)? Or can it be done using ipTables? If it means anything, I am running 32-bit Centos 5.5(I believe. Its a recent version of Centos)
113909
i was wondering if nginx is able to handle http and https requests on the same port. [*]   This is what i'm trying to do. I'm running a web server (lighttpd) handling http requests, and a C program that serves a particular section of the document tree through https. These two processes run on the same server.   At the firewall level, i can have only one port forwarding traffic into this server. So what i'd like to do is to set up nginx on this server so that it listens for requests on a single port and then:  A) redirects all * requests so that they go to localhost:8080 (where lighttpd is listening)  B) if a user requests a URL starting with, for example, https:// myhost.com/app, it sends that request to localhost:8008 (C program). Note that in this case, traffic between the remote browser and nginx must be encrypted.  Do you think this could be possible? If it is, how can it be done?  I know how to do this using two different ports. The challenge that i face is doing this with just a single port (unfortunately, i don't have control over the firewall configuration on this particular environment, so that's a restriction that i cannot avoid). Using techniques like reverse port fowarding through ssh to bypass the firewall won't work either, because this should work for remote users having nothing more than a web browser and an internet link.  If this is beyond nginx capabilities, do you know of any other product that could meet this requirements? (so far i've been unsuccessful in setting this up with lighttpd and pound). I'd also prefer avoiding Apache (although i'm willing to use it if it's the only possible choice).  Thanks in advance, Alex  [*] Just to be clear, i'm talking about handling encrypted and unencrypted HTTP connections through the same port. It doesn't matter if the encryption is done through SSL or TLS.
16823
How would I go about identifying a port, card or connector on my system which I am unfamiliar with?  Where would I find information on what these parts are? What would be the steps I would take in identifying a unknown port or cable?   This question comes up frequently, and the suggested solutions are usually the same. This community wiki is an attempt to serve as the definitive, most comprehensive answer possible. Feel free to add your contributions via edits.
81815
How does serverfault, stackoverflow and other stackExchange sites connect together?   Is that does or do? Because I'm talking about multiple items, it would be do. What is more correct?
87759
We understand when connecting to SQL server that specifying:   &lt; ip address> &lt; host or ip>,&lt; port number>   That the ADO or ODBC client will typically use tcpip to connect.  However, we observe that when a client asks to connect to:  &lt; server>\&lt; instance name> that it seems the client (ODBC in this case) does NOT use tcpip.  We believe in some cases, connecting to:   &lt; host name>   May also result in a named pipes connection.  Questions:   Since &lt; server>\&lt; instance name> is not connecting over tcpip, that means it is using named pipes, right? How do I force the connection to use tcpip?   And is the behavior (of the 32 bit Windows ODBC driver for SQL Server) in this regard the same as the behavior of the old dblib client?
80602
I'm just playing with apache and i got it to work, that is i can connect to server by browsing to http://127.0.0.1 and http://192.168.1.5 i'm NOT running IPv6  Yet this is the result of netstat  $ sudo service apache2 status  * apache2 is running $ netstat -an | grep :80 tcp6       0      0 :::80                   :::*                    LISTEN  $ wget 127.0.0.1 --2014-06-26 01:32:15--  http://127.0.0.1/ Connecting to 127.0.0.1:80... connected. HTTP request sent, awaiting response... 200 OK Length: 11510 (11K) [text/html] Saving to: ‘index.html’  100%[=====================================================================================================&gt;] 11,510      --.-K/s   in 0s        2014-06-26 01:32:15 (161 MB/s) - ‘index.html’ saved [11510/11510]   I was expecting to see it listening on a regular TCP which it clearly does!?  Edit:  $ netstat -a | grep LISTEN tcp        0      0 localhost:ipp           *:*                     LISTEN      tcp        0      0 localhost:mysql         *:*                     LISTEN      tcp6       0      0 ip6-localhost:ipp       [::]:*                  LISTEN      tcp6       0      0 [::]:https              [::]:*                  LISTEN      tcp6       0      0 [::]:http               [::]:*                  LISTEN        Edit2: Why the down vote? What am i missing can someone elaborate?
67356
How would I set my webservers to work in way described below?   Http request: mypublic.com ---> handled normally by nginx as it is set up already (listen 80;) Http request: myprivate.com ---> handled by apache set up to work on 8080 (listen 8080)    I'd like to avoid including ports when typing address in browser, some kind of mockup (proxy?/squid?) at nginx. Both of domains are pointing to my machine and set up by named.
40111
I'm writing a small web server in Python, using BaseHTTPServer and a custom subclass of BaseHTTPServer.BaseHTTPRequestHandler. Is it possible to make this listen on more than one port?  What I'm doing now:  class MyRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler):   def doGET   [...]  class ThreadingHTTPServer(ThreadingMixIn, HTTPServer):      pass  server = ThreadingHTTPServer(('localhost', 80), MyRequestHandler) server.serve_forever()
81642
I wanted to try out using graphical tools over ssh. Just to learn a new thing :)  so my understanding is this, I connect like this: ssh -port -x user@server  But I'm running ubuntu server so it has no gui and thus no gui tools. My understanding is I've to install gedit on server. But also xserver?  Can someone clear up this concepts to me?
398
This is a  about Hosting multiple SSL websites on the same IP.   I was under the impression that each SSL Certificate required it's own unique IP Address/Port combination. But the  is at odds with this claim.  Using information from that Question, I was able to get multiple SSL certificates to work on the same IP address and on port 443. I am very confused as to why this works given the assumption above and reinforced by others that each SSL domain website on the same server requires its own IP/Port.  I am suspicious that I did something wrong.  Can multiple SSL Certificates be used this way?
80501
I am new to this, so sorry if its obvious. I am running a Debian server and installing the likes of UWSGI, NGinx etc on there. The configurations keep talking about pointing to "sockets".  In the build options I seem to be able to specify where the sockets for each program go. By default it looks like most of them go in /tmp (not all of them).  Is this a good place for them to go? I'm trying to keep things as organized as possible but just bunging them in /tmp doesn't seem like the best option.
116849
I run several different web pages on different servers (with different IP addresses). These pages are linking to each other in order to boost number of backlinks pointing to my pages.   I would like to move all those projects to a single virtual host (with a single IP address). My question is, how Google handles links within different domain names but same IP address. Is there some penalization for it? Could this lead to lower PageRank?
73072
I'm building a chat server with .NET. I have tried opening about 2000 client connections and my Linksys WRT54GL router (with tomato firmware) drops dead each time. The same thing happens when I have several connections open on my Azureus bit-torrent client.  I have three questions:   Is there a limit on the number of open sockets I can have in Windows Server 2003? Is the Linksys router the problem? If so is there better hardware recommended? Is there a way to possibly share sockets so that I can handle more open client connections with fewer resources?
63003
I have recently installed a webserver, and port 80 is open. I can connect with 127.0.0.1 and 192.168.0.50, but I can't with my external IP. So, why is this?  I use a router from Ubee.
50234
I've seen multiple servers where you can connect from any (recent) major version. (Example, 1.9, 1.8 OR 1.7) And they all seem to be able to do it. Alas, a simple google search did not fix the problem. Any ideas? Thanks guys.  (PS: The Minecraft server is running on the latest Spigot for 1.10 as of 6/27/16)