title: Slave cannot connect to Master
body: <p>I'm trying to configure my laptop as a slave, my master would be a server where Jenkins is installed. I've followed <a href="https://wiki.jenkins-ci.org/display/JENKINS/Step+by+step+guide+to+set+up+master+and+slave+machines" rel="nofollow">these instructions</a>.</p>
  
  <p>However, when it comes to access <code>http://master:8080/</code> from my slave's browser, internet cannot display the webpage. </p>
  
  <p>So I tried the second way, by writing <code>javaws http://master:8080/computer/Slave/slave-agent.jnlp</code> in the cmd prompt and this time I have this error:</p>
  
  <blockquote>
    <p>Could not load file/URL specified: <a href="http://master:8080/computer/Slave/slave-agent.jnlp">http://master:8080/computer/Slave/slave-agent.jnlp</a></p>
  </blockquote>
  
  <p>I am new to stuff with network etc so can you enlighten me?</p>
  
  <p>EDIT: I manage to reach the page, instead of user master:8080, I tried with the IP of the server and it worked! </p>
  
  <p>But now when I launch the agent, I have an error saying: </p>
  
  <blockquote>
    <p>java.net.ConnectException: Connection refused:</p>
  </blockquote>
  
  <p>Where does the problem come from?</p>