I have Apache 2.4 running on Mac OS X. apachectl configtest give me: Syntax OK.  I have two virtual hosts set up, one called localhost, one called test.dev.  &lt;VirtualHost *:80&gt;     DocumentRoot "/Users/psychomachine/Development/_localhost"     ServerName localhost     ServerAlias www.localhost     &lt;Directory /&gt;         Require all granted     &lt;/Directory&gt; &lt;/VirtualHost&gt;  &lt;VirtualHost *:80&gt;     DocumentRoot "/Users/psychomachine/Development/test"     ServerName test.dev     ServerAlias www.test.dev     &lt;Directory /&gt;         Require all granted     &lt;/Directory&gt; &lt;/VirtualHost&gt;   localhost just works:  ↪ curl -I -L localhost                                                                                                                                                              15:51:08 HTTP/1.1 200 OK Date: Tue, 08 Dec 2015 14:51:17 GMT Server: Apache/2.4.16 (Unix) Last-Modified: Tue, 08 Dec 2015 08:52:04 GMT ETag: "c-5265f1673f500" Accept-Ranges: bytes Content-Length: 12 Content-Type: text/html   whereas test.dev doesn't:  ↪ curl -I -L test.dev                                                                                                                                                               15:51:01 curl: (7) Failed to connect to test.dev port 80: Connection refused   My hosts file has an entry for test.dev, which is why I can ping test.dev and hear back from 127.0.0.1.  ↪ ping test.dev                                                                                                                                                                     15:53:39 PING test.dev (127.0.0.1): 56 data bytes 64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.069 ms 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.096 ms 64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.111 ms ^C --- test.dev ping statistics --- 3 packets transmitted, 3 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 0.069/0.092/0.111/0.017 ms   I've spent hours looking at this, but I still don't understand how it is possible to ping test.dev but still get connection refused. Apache is listening on port 80, and I am not getting a page forbidden kind of error. There is nothing in Apache logs for test.dev, because the request for test.dev never makes it to Apache.  I am missing a crucial element of the puzzle — and I hope somebody will be able to point me in the right direction.  Many thanks in advance.  Edit: As I said, Apache is listening on 80:  sudo lsof -i ':80'                                                                                                                                                                16:54:46 COMMAND  PID   USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME httpd   2464   root    5u  IPv6 0x8883a2a43af0ca7f      0t0  TCP *:http (LISTEN) httpd   2466 daemon    5u  IPv6 0x8883a2a43af0ca7f      0t0  TCP *:http (LISTEN) httpd   2467 daemon    5u  IPv6 0x8883a2a43af0ca7f      0t0  TCP *:http (LISTEN) httpd   2468 daemon    5u  IPv6 0x8883a2a43af0ca7f      0t0  TCP *:http (LISTEN) httpd   2469 daemon    5u  IPv6 0x8883a2a43af0ca7f      0t0  TCP *:http (LISTEN) httpd   2470 daemon    5u  IPv6 0x8883a2a43af0ca7f      0t0  TCP *:http (LISTEN)   Additional info   scutil -r test.dev                                                    08:25:59 Reachable   telnet test.dev                                                       08:26:17 Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host  telnet test.dev 80                                                    08:26:43 Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host   127.0.0.1 test.dev is in /etc/hosts and Listen *:80 is in apache's conf.
This is a  about Connection Refused    We see a lot of questions to the effect      When I try to connect to a system I get a message      Connection refused      Why is this ?
UTF-8 -> ASCII in C language Does Thanos' plan apply to higher order beings? We know that Thanos' plan was to       instantly destroy half of all life in the universe    His plan doesn't appear to apply to lower or non sentient life forms      if it did half the trees in the final Wakanda scene would have disintegrated too   Does his plan apply to all beings more powerful than himself? Specific system of differential equations I have the following system of equations:  \begin{eqnarray}\frac{dx}{dt} = x(1 - x^2 - y^2) \\ \frac{dy}{dt} = y(4 - x^2 - y^2) \end{eqnarray}  I want to prove that if a solutions starts (at time $t = 0$) in the region   $$ G = \{(x, y) \in \mathbb{R}^2 : x &gt; 0, y &gt; 0 \text{ and } 1 &lt; x^2 + y^2  &lt; 4\} $$  that it remains there for all $t \geq 0$. I have already proven that, from $G$, a solution cannot cross the $x$-axis where $0 &lt; x &lt; 2$ or the $y$-axis where $0 &lt; y &lt; 2$ (since those line segments are orbits), but the pieces of the circles with radius 1 and 2 (where $x &gt; 0, y &gt; 0$) are the lines I haven't done yet. In this question we can focus on just the circle with radius 1 since the proof for the other circle is completely analogous to it.  In my book, there is a similar problem where they show that if a solution crosses a certain line, that solution attains its maximum or minimum value for $x$ and $y$, and then they derive a contradiction. However, in this case, for $n \geq 1$ the $n$-th derivative of $x$ equals 0 on the circle with radius 1. (If the second derivative were negative, $x$ would attain its maximum on the circle, a contradiction since $\frac{dx}{dt} &lt; 0$ in $G$, so $x$ is decreasing.)  I don't see why a solution can't cross the circle at all. On the circle, $\frac{dx}{dt} = 0$ and $\frac{dy}{dt} &gt; 0$, so after crossing the circle, the solution would go back up to $G$.  Is the circle itself an orbit?  EDIT I think I have found the answer. Using polar coordinates, I found $$ \frac{dr}{dt} = r - r^3 + 3r \sin^2(\theta) $$ Now, $$ \frac{dr}{dt} &gt; 0 \Leftrightarrow 0 &lt; r - r^3 + 3r \sin^2(\theta) \leq r - r^3 + 3r = 4r - r^3 $$ since $0 \leq \sin^2(\theta) \leq 1$. Note that $0 &lt; r \leq 1$ satisfies $4r - r^3 &gt; 0$, and thus $\frac{dr}{dt} &gt; 0$. Therefore, if a solution goes from $G$ to the edge of the unit circle, $r$ must, on the edge, either be decreasing or constant (i.e., its derivative is less than or equal to 0), contradicting the fact that the derivative is positive.  Can someone tell me if this is correct? Hey I want to connect the bottom loop with the top loop so that it forms a solid.  I have tried selecting multiple vertices and pressing F but that just creates a large face which I do not want. I have tried using grid fill bu that doesn't work either. The solution that seems to work is by selecting four vertices and pressing F and then selecting the next 4 and pressing F and on and on. That just takes too long. When installing an application, the application lists permissions that it needs to perform its  functions.    I am creating this list of the the system defined permissions and a description of what they mean. It is a community wiki so if new permissions are added in the future they can be added to this list. Can Hydrogen Fusion via CNO Cycle Occur in First Generation Stars CNO cycle requires the presence of carbon, nitrogen and oxygen to undergo hydrogen fusion. Does this mean that for first generation stars, no matter how big they are, can't undergo hydrogen fusion by CNO cycle because there is no carbon, nitrogen and oxygen present?   I can't seem to find any website which mentions this. All they say is if a star is large enough, it will undergo hydrogen fusion via CNO cycle, they don't specifically mention it having to be a second generation star. I am working on a large C++ project in Visual Studio 2008, and there are a lot of files with unnecessary #include directives. Sometimes the #includes are just artifacts and everything will compile fine with them removed, and in other cases classes could be forward declared and the #include could be moved to the .cpp file.  Are there any good tools for detecting both of these cases? Taylor series expansion for $f(x)=\sqrt{x}$ for $a=1$ Map bounded if composition is bounded Is there a way to make a fullscreen on VirtualBox? I tried many ways to make a bigger screen in VirtualBox because I do not like the small size of the guest window? Is there is a way to make it big? How to adjust the gap between figure and caption within the same subfloat Windows 7 "Waiting for background program to close" I am using Windows 7 Home Premium. When I shut down my computer why does the screen show this:    Before shutting down I'm close all programs. How to compile a function whose arguments are lists containing strings? I get “signal out of range” displayed on screen after boot up from fresh Ubuntu installation, if flashes grup in corner for half a sec then it goes to “No Input Signal”, anyone got a clue how to get the grub to load in diffrent resolution with out have access to the file system?   if not i guess my only option is to boot from the cd and edit som files to get grub to load in diffrent resolution?   as it is now i cant get access to grub menu, and i cant get access to login screen, all will give me “No Input Signal”, anyone worked around this? I’m looking for a word I’m struggling to remember that refers to a job or role which is inconsequential and usually created in order to install someone in a company, not based on their merit.  An example would be creating a vague new role for a friend’s son. The word I’m looking for refers to the actual job itself - it’s a noun that would replace the ‘job’ (e.g “they put so and so’s cousin in a ____”).   I believe the word may not be a strictly formal or technical word but I don’t think it was slang. After hitting 80% LTV, my mortgage lender refuses to remove PMI. Any recourse? I recently refinanced my home. At the time based on the appraisal vs. amortization I found I would be stuck with PMI (private mortgage insurance) for about 9 months.  I've paid extra on the mortgage each month and after 7 months I got my LTV (loan-to-value ratio) to be 79%. Yay! So I called Pacific Union and asked for PMI to be removed.  The woman said I'd need to fax in a written request. Then she added that my written request would likely be denied because my account had not been in good standing the last 12 months. I pointed out that I'd only had the loan for 7 months and had never been late, but that didn't seem to matter to her.  So I faxed in my written request. Then I read through all my documentation on my loan. Nowhere did it say that I needed to have the loan for 12 months.  After a week I called them back and they said it would be another week for a decision.  So, I waited another week and called. They now just had a recording saying they were too busy to take a call and I could leave a callback number. I did this and never heard back. I've now tried twice more to call them. Each time I leave a number and each time I don't hear back. So I've fired off a written request again.  At this point we've gone around the horn to the next month and in two short days I'll be paying PMI on March's payment.  Do they have any grounds to not remove PMI? Isn't it federally mandated that PMI must be removed at 80%? Any recourse anyone can think of?  [EDIT] - I heard back from Pacific Union. They state that I did not sign anything agreeing to these terms which is what I was certain of. They state these terms are simply automatic with Fannie Mai backed loans and it doesn't matter if I was informed or not about these terms. They also chose not to hide behind the "no late payments" clause and instead said they were requiring an appraisal to remove PMI. Of course an appraisal is $400 and I'll hit 78% LTV before I would pay that much extra in PMI. I have now contacted a lawyer. I'll update again with whatever opinion the lawyer has and whether I proceed or not.  [EDIT] - I filed a BBB complaint. They waited 30+ days to respond. In their response they indicate that the first woman (and some SE users below) are wrong. The loan does NOT have to be in good standing for 12 months. The loan simply needs no late payments within 12 months. They then hide behind the request for another appraisal as the sole reason to not remove it. I checked with Fannie Mae who backs the loan and was told this is optional per the lender, however the lender can force it and I have no recourse. Additionally, they could have asked for a Broker's Price Option (BPO) or a certificate of value which would cost me hundreds less.   At this point I cannot continue to fight them because the amount of PMI I'll pay until 78% LTV is equal to or less than the appraisal cost of $400.  [EDIT] As of August 2015 I've hit 78% LTV. I called Pacific Union to ensure that the automatic cancellation of PMI had happened. They said no, I'd need to request that in writing. This is a violation of federal law as it's supposed to be automatic. They also said they would still deny it because now they want 24 months of good history. I've sent a threatening letter off and am waiting for a reply. If any lawyers come along and read this I'd sure like to hire you.  [EDIT] After my letter they said they would remove PMI. They did not and I was charged again in September. I called them yet again and complained. They said PMI was going to be removed. They then charged my again in October! I called again. I called again and went berserk on the phone. PMI was finally removed for November 2015. First month without it. What are the eigenvalues of $\operatorname{ad}x$? Let $x\in \operatorname{gl}(n,F)$ have $n$ distinct eigenvalues $a_1,\ldots,a_n$ in $F$. Prove that the eigenvalues of $\text{ad }x$ are precisely the $n^2$ scalars $a_i-a_j$ ($1\leq i,j\leq n$), which of course need not be distinct.   So we can represent $x$ by an $n\times n$ matrix $X$. We have $Xv_1=a_1v_1,\ldots, Xv_n=a_nv_n$ for eigenvectors $v_1,\ldots,v_n$.   Now, $\operatorname{ad}x$ takes $y\in \operatorname{gl}(n,F)$ to $xy-yx$. I need to show that some $y$ is taken to a scalar multiple of itself, where that scalar is $a_i-a_j$. What could be that $y$? I am a n00b to physics. What physics I know comes from high school and popular science books.  At school we were taught about atoms and what make up atoms, but we weren't actually told what the particles were!  So sure an atom has electrons orbiting around a nucleus made of protons and neutrons, but what exactly is an ?  And if we don't know, how can we fire them from guns, like they do in experiments ... etc  Any clarification on this would be great. Should the personal/research statement be technical? Related:   I know I must describe my past and current research in my personal/research statement or statement of purpose. But do I use technical terms?  I was given the advice that since the people reading my statement are mathematicians (I am applying to US for applied mathematics), they should know what I am talking about.  Although I am applying to applied mathematics, it would also be nice to hear from other fields (biology, computer science, engineering etc) about this. How does range interact with the Arcane Archer's Curving Shot? One of the features of the Arcane Archer fighter subclass is Curving Shot:  At 7th level, you learn how to direct an errant arrow toward a new target. When you make an attack roll with a magic arrow and miss, you can use a bonus action to reroll the attack roll against a different target within 60 feet of the original target. [XGtE, pg. 28]  How does this interact with range? The Player's Handbook describes range as follows:  The range lists two numbers. The first is the weapon’s normal range in feet, and the second indicates the weapon’s maximum range. When attacking a target beyond normal range, you have disadvantage on the attack roll. You can’t attack a target beyond the weapon’s long range. [PHB, pg. 147]  I see at least four ways this might interact with Curving Shot:  The distance between the old target and new target is added to the shot's original range.  This may extend the range to beyond normal (in which case the new attack role must be made at disadvantage) or beyond maximum (in which case the new target is not valid).  The range of the redirected shot is only the distance between the old target and new target.  The shot has a new point of origin at the old target, so the new range will be between 0 and 60 feet, as limited by Curving Shot.  The range of the redirected shot is the distance between the archer and the new target.  If the new target is farther from the archer than the old one was, the range will be larger; if the new target is closer, the range will be smaller.  The range between the archer and old target is all that matters. As long as the distance from the old target to the new target is within the 60 feet defined in Curving Shot, the initial range between the archer and the old target is all that matters.  The initial attack is rerolled as is.    Related