在 2017年11月30日星期四 UTC+8下午8:56:40,answe...@gmail.com写道:
> 在 2017年11月28日星期二 UTC+8下午6:00:40,Nadav Har'El写道:
> > On Fri, Nov 24, 2017 at 11:30 AM,  <answe...@gmail.com> wrote:
> > Thanks for your reply.
> > 
> > 
> > 
> > I did as the instruction:
> > 
> > wande@ubuntu:~/osv$ sudo scripts/run.py -e "memcached -u root" --forward 
> > "tcp:1121::1121"
> > 
> > OSv v0.24-467-gd52cb12
> > 
> > eth0: 192.168.122.15
> > 
> > Memcached for OSV, based on Memcached 1.4.21
> > 
> > 
> > 
> > Then I try to connect 192.168.122.15::1121 by Shell, but it didn't work. 
> > After that I try to connect by telnet, it didn't work too.
> > 
> > 
> > 
> > Please reread my previous mail explaining what qemu's "emulated networking" 
> > mode does.
> > 
> > 
> > You should telnet to *localhost* (where you run scripts/run.py) port 1121. 
> > The IP address "192.168.1122.15" is only visible inside the guest, and you 
> > cannot connect to it from the outside.
> > 
> > 
> > Nadav.
> > 
> >  
> 
> Thank you very much.I will do that.

I started with 
"scripts/run.py -e "memcached -u root -p 1121" --forward "tcp:1121::1121""
which I add "-p 1121".
Then it worked.
Before I added "-p",it showed me 
"Connection closed by foreign host"
Thanks very much.

-- 
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 osv-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to