You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Steven White <sw...@gmail.com> on 2015/04/24 16:03:33 UTC

Remote connection to Solr

Hi Everyone,

This maybe a Jetty question but let me start here first.

I have Solr running on my laptop and from my desktop I have no issue
accessing it.  However, if I take my laptop home and connect it to my home
network, the next day when I connect the laptop to my office network, I no
longer can access Solr from my desktop.  A restart of Solr will not do, the
only fix is to restart my Windows 8.1 OS (that's what's on my laptop).

I have not been able to figure out why this is happening and I'm suspecting
it has to do something with Jetty because I have Solr 3.6 running on my
laptop in a WebSphere profile and it does not run into this issue.

Any ideas what could be causing this?  Is this question for the Jetty
mailing list?

Thanks

Steve

RE: Remote connection to Solr

Posted by Garth Grimm <Ga...@averyranchconsulting.com>.
Shawn's explanation fits better with why Websphere and Jetty might behave differently.  But something else that might be happening could be if the DHCP negotiation causes the IP address to change from one network to another and back.

-----Original Message-----
From: Steven White [mailto:swhite4141@gmail.com] 
Sent: Friday, April 24, 2015 9:23 AM
To: solr-user@lucene.apache.org
Subject: Re: Remote connection to Solr

Hi Shawn,

The firewall was the first thing I looked into and after fiddling with it, I still see the issue.  But if that was the issue, why WebSphere doesn't run into it but Jetty is?  However, your point about domain / non domain and private / public network maybe provide me with some new area to look into.

Thanks

Steve

On Fri, Apr 24, 2015 at 10:11 AM, Shawn Heisey <ap...@elyograg.org> wrote:

> On 4/24/2015 8:03 AM, Steven White wrote:
> > This maybe a Jetty question but let me start here first.
> >
> > I have Solr running on my laptop and from my desktop I have no issue 
> > accessing it.  However, if I take my laptop home and connect it to 
> > my
> home
> > network, the next day when I connect the laptop to my office 
> > network, I
> no
> > longer can access Solr from my desktop.  A restart of Solr will not 
> > do,
> the
> > only fix is to restart my Windows 8.1 OS (that's what's on my laptop).
> >
> > I have not been able to figure out why this is happening and I'm
> suspecting
> > it has to do something with Jetty because I have Solr 3.6 running on 
> > my laptop in a WebSphere profile and it does not run into this issue.
> >
> > Any ideas what could be causing this?  Is this question for the 
> > Jetty mailing list?
>
> I'm guessing the Windows firewall is the problem here.  I'm betting 
> your computer is detecting your home network and the office network as 
> two different types (one as domain, the other as private, possibly), 
> and that the Windows firewall only allows connections to Jetty when 
> you are on one of those types of networks.  The websphere install may 
> have add explicit firewall exceptions for all network types when it was installed.
>
> Fiddling with the firewall exceptions is probably the way to fix this.
>
> Thanks,
> Shawn
>
>

Re: Remote connection to Solr

Posted by Steven White <sw...@gmail.com>.
Hi Shawn,

The firewall was the first thing I looked into and after fiddling with it,
I still see the issue.  But if that was the issue, why WebSphere doesn't
run into it but Jetty is?  However, your point about domain / non domain
and private / public network maybe provide me with some new area to look
into.

Thanks

Steve

On Fri, Apr 24, 2015 at 10:11 AM, Shawn Heisey <ap...@elyograg.org> wrote:

> On 4/24/2015 8:03 AM, Steven White wrote:
> > This maybe a Jetty question but let me start here first.
> >
> > I have Solr running on my laptop and from my desktop I have no issue
> > accessing it.  However, if I take my laptop home and connect it to my
> home
> > network, the next day when I connect the laptop to my office network, I
> no
> > longer can access Solr from my desktop.  A restart of Solr will not do,
> the
> > only fix is to restart my Windows 8.1 OS (that's what's on my laptop).
> >
> > I have not been able to figure out why this is happening and I'm
> suspecting
> > it has to do something with Jetty because I have Solr 3.6 running on my
> > laptop in a WebSphere profile and it does not run into this issue.
> >
> > Any ideas what could be causing this?  Is this question for the Jetty
> > mailing list?
>
> I'm guessing the Windows firewall is the problem here.  I'm betting your
> computer is detecting your home network and the office network as two
> different types (one as domain, the other as private, possibly), and
> that the Windows firewall only allows connections to Jetty when you are
> on one of those types of networks.  The websphere install may have add
> explicit firewall exceptions for all network types when it was installed.
>
> Fiddling with the firewall exceptions is probably the way to fix this.
>
> Thanks,
> Shawn
>
>

Re: Remote connection to Solr

Posted by Shawn Heisey <ap...@elyograg.org>.
On 4/24/2015 8:03 AM, Steven White wrote:
> This maybe a Jetty question but let me start here first.
> 
> I have Solr running on my laptop and from my desktop I have no issue
> accessing it.  However, if I take my laptop home and connect it to my home
> network, the next day when I connect the laptop to my office network, I no
> longer can access Solr from my desktop.  A restart of Solr will not do, the
> only fix is to restart my Windows 8.1 OS (that's what's on my laptop).
> 
> I have not been able to figure out why this is happening and I'm suspecting
> it has to do something with Jetty because I have Solr 3.6 running on my
> laptop in a WebSphere profile and it does not run into this issue.
> 
> Any ideas what could be causing this?  Is this question for the Jetty
> mailing list?

I'm guessing the Windows firewall is the problem here.  I'm betting your
computer is detecting your home network and the office network as two
different types (one as domain, the other as private, possibly), and
that the Windows firewall only allows connections to Jetty when you are
on one of those types of networks.  The websphere install may have add
explicit firewall exceptions for all network types when it was installed.

Fiddling with the firewall exceptions is probably the way to fix this.

Thanks,
Shawn


Odp.: Remote connection to Solr

Posted by LAFK <to...@gmail.com>.
Try running a different server first and see if that ain't windows shutting down network when sleeping / hibernating and not waking it up later. Or blocking the sockets.

@LAFK_PL
  Oryginalna wiadomość  
Od: Steven White
Wysłano: piątek, 24 kwietnia 2015 16:04
Do: solr-user@lucene.apache.org
Odpowiedz: solr-user@lucene.apache.org
Temat: Remote connection to Solr

Hi Everyone,

This maybe a Jetty question but let me start here first.

I have Solr running on my laptop and from my desktop I have no issue
accessing it. However, if I take my laptop home and connect it to my home
network, the next day when I connect the laptop to my office network, I no
longer can access Solr from my desktop. A restart of Solr will not do, the
only fix is to restart my Windows 8.1 OS (that's what's on my laptop).

I have not been able to figure out why this is happening and I'm suspecting
it has to do something with Jetty because I have Solr 3.6 running on my
laptop in a WebSphere profile and it does not run into this issue.

Any ideas what could be causing this? Is this question for the Jetty
mailing list?

Thanks

Steve