acorn-io/runtime

Local install - Endpoints for apps are not accessible .

sangee2004 opened this issue · 0 comments

acorn version - v0.10.0-rc2-35-g3cf6c107+3cf6c107

Steps to reproduce the problem:

  1. Install acorn using acorn -j local ps
  2. Deploy app with published port in local project.
  3. Once app is deployed, the endpoint url made avaialble for the app is not accessible from any machine other than the 1 were acorn is installed.
acorn apps -j local
NAME          IMAGE                              COMMIT         CREATED    ENDPOINTS                                             MESSAGE
mytest        sangeetha/myfirstacorn:v0.0.1                     18h ago    http://mywebnew-mytest-3f21e1ad.atkvra.oss-acorn.io   OK
  1. Accessing endpoint from local machine works as expected
curl  http://mywebnew-mytest-3f21e1ad.atkvra.oss-acorn.io 
hello1
  1. Not able to access the endpoint from any other machine
%curl  http://mywebnew-mytest-3f21e1ad.atkvra.oss-acorn.io 
404 page not found
 % ping mywebnew-mytest-3f21e1ad.atkvra.oss-acorn.io 
PING mywebnew-mytest-3f21e1ad.atkvra.oss-acorn.io (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.069 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.176 ms
x64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.128 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.202 ms
^C
--- mywebnew-mytest-3f21e1ad.atkvra.oss-acorn.io ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.069/0.144/0.202/0.051 ms