Adding -f "10022:22" should expose the port to the host. Which hypervisor 
are you running it on - QEMU/KVM, VirtualBox, VMWare, Xen?

Waldek

On Monday, March 11, 2019 at 7:01:50 AM UTC-4, robertob wrote:
>
> Any advice? 
>
> regards
>
> Il giorno venerdì 8 marzo 2019 14:53:45 UTC+1, robertob ha scritto:
>>
>> The problem is that the two instances run on a separate network and I do 
>> not understand how to reach them from the outside...
>>
>> The startup command is this:
>>
>> first instance: capstan run -n "bridge" -e 
>> "--ip=eth0,10.0.0.2,255.255.255.0 --defaultgw=10.0.0.1 
>> --nameserver=10.0.0.1 /java.so -jar /my.jar"
>> second instance: capstan run -n "bridge" -e 
>> "--ip=eth0,10.0.0.3,255.255.255.0 --defaultgw=10.0.0.1 
>> --nameserver=10.0.0.1 /java.so -jar /my.jar"  
>>
>> And the Capstanfile is this:
>>
>> base: cloudius/osv-openjdk8
>> cmdline: /java.so
>> files:
>>   /my.jar: my.jar
>>
>> The problem is that I cannot reach the IP 10.0.0.2 o 10.0.0.3 from the 
>> outside.
>>
>> regards
>>
>> r
>>
>> Il giorno gio 7 mar 2019 alle ore 19:55 Waldek Kozaczuk ha scritto:
>>
>>> Hi,
>>>
>>> One way is to use REST api to get file from OSv. Just add httpserver-api 
>>> module to your image. 
>>>
>>> Waldek
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to