title: can't access Nexus Sonatype from another machine within a LAN
body: <p>I have two Ubuntu 12.04 machines connected with a crossover cable. I manually configured the IP to be 1.1.1.0 and 1.1.1.1. I can do <code>ping</code>, <code>rcp</code> and use <code>git clone</code> no problem between the two machines. I also have Nexus Sonatype configured in 1.1.1.0 and try to have the other machine to pull dependencies from that one but doesn't work I get "can't establish connection" I get the same error trying to access the Nexus Sonatype web server from that machine. </p>
  
  <p>My Nexus Sonatype process looks like this:</p>
  
  <pre><code>azg       4102  4100  1 19:21 ?        00:00:29 java -Djava.net.preferIPv4Stack=true -Dcom.sun.jndi.ldap.connect.pool.protocol=plain ssl -Djava.library.path=bin/jsw/lib -classpath bin/jsw/lib/wrapper-3.2.3.jar:./lib/sisu-jetty8-1.4.2.jar:./lib/logback-classic-1.0.7.jar:./lib/appcontext-3.2.jar:./lib/jetty-security-8.1.8.v20121106.jar:./lib/metrics-jetty-2.2.0.jar:./lib/metrics-logback-2.2.0.jar:./lib/metrics-core-2.2.0.jar:./lib/jetty-util-8.1.8.v20121106.jar:./lib/jetty-deploy-8.1.8.v20121106.jar:./lib/nexus-logging-extras-appender-2.5.1-01.jar:./lib/nexus-bootstrap-2.5.1-01.jar:./lib/jetty-xml-8.1.8.v20121106.jar:./lib/javax.servlet-3.0.0.v201112011016.jar:./lib/jetty-server-8.1.8.v20121106.jar:./lib/jetty-continuation-8.1.8.v20121106.jar:./lib/jetty-servlet-8.1.8.v20121106.jar:./lib/jetty-webapp-8.1.8.v20121106.jar:./lib/jetty-http-8.1.8.v20121106.jar:./lib/jetty-jmx-8.1.8.v20121106.jar:./lib/slf4j-api-1.7.2.jar:./lib/jetty-io-8.1.8.v20121106.jar:./lib/logback-core-1.0.7.jar:./lib/jetty-rewrite-8.1.8.v20121106.jar:./lib/plexus-interpolation-1.15.jar:./conf/ -Dwrapper.key=lOc_daTBExiskDCG -Dwrapper.port=32000 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=4100 -Dwrapper.version=3.2.3 -Dwrapper.native_library=wrapper -Dwrapper.service=TRUE -Dwrapper.cpu.timeout=10 -Dwrapper.jvmid=1 org.sonatype.nexus.bootstrap.jsw.JswLauncher ./conf/jetty.xml
  </code></pre>
  
  <p>Netstat produces the following output:</p>
  
  <pre><code>azg@olympus:~$ sudo netstat -anp | grep ":80.*LISTEN"
  tcp        0      0 0.0.0.0:8081            0.0.0.0:*               LISTEN      4102/java
  </code></pre>
  
  <p>Can anyone shed light into what's wrong here?</p>
  
  <p>UPDATE: <a href="https://superuser.com/questions/643525/two-network-configurations-in-linux">This other question</a> may be related to this issue i.e. using an incorrect ip range. I have to test this tomorrow at work.</p>