Abhishek Upperwal created BEAM-10026:
----------------------------------------

             Summary: Remote Job Server
                 Key: BEAM-10026
                 URL: https://issues.apache.org/jira/browse/BEAM-10026
             Project: Beam
          Issue Type: Improvement
          Components: jobserver
    Affects Versions: 2.20.0
            Reporter: Abhishek Upperwal


h2. *ServerFactory.java*

 

Currently gRPC Job Server is created with *NettyServerBuilder.forPort()* which 
by default binds it to localhost and hence can't be accessed remotely. 

I propose using *NettyServerBuilder.forAddress()* and use *socket* as the 
argument. ** Another change would be to use string from *--job-host* instead of 
*InetAddress.getLoopbackAddress()* when creating the socket. ** 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to