Kevin Duling created GEODE-2364:
-----------------------------------

             Summary: gfsh cannot connect to a remote locator
                 Key: GEODE-2364
                 URL: https://issues.apache.org/jira/browse/GEODE-2364
             Project: Geode
          Issue Type: Bug
          Components: gfsh
            Reporter: Kevin Duling

*Environment*
locator running on Ubuntu 64-bit
server running on OSX

*Steps to Reproduce*
1. Start locator on ubuntu: {{gfsh start locator --name=locator1}}
2. Start server on Mac: {{gfsh start server --name=server1 
--locators=x.x.x.x[10334]}}
3. Start gfsh on Mac and try to connect to the locator: {{connect 
--locator=x.x.x.x[10334]}}

*Result*
{code}
gfsh>connect --locator=192.168.1.45[10334]
Connecting to Locator at [host=192.168.1.45, port=10334] ..
Connecting to Manager at [host=192.168.1.45, port=1099] ..
Could not connect to : [host=192.168.1.45, port=1099]. Connection refused to 
host: 127.0.1.1; nested exception is: 
    java.net.ConnectException: Operation timed out

Input/output error
Exiting... 
Exception in thread "main" java.lang.NullPointerException
        at 
org.apache.geode.management.internal.cli.Launcher.parseOptions(Launcher.java:252)
        at 
org.apache.geode.management.internal.cli.Launcher.parseCommandLine(Launcher.java:260)
        at 
org.apache.geode.management.internal.cli.Launcher.main(Launcher.java:107)
Could not connect to : [host=192.168.1.45, port=1099]. Connection refused to 
host: 127.0.1.1; nested exception is: 
    java.net.ConnectException: Operation timed out
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to