Re: How to make my service public
Irmen de Jong <[email protected]> Tue, 15 Apr 2014 20:40:51 +0200
| Newsgroups | gmane.comp.python.pyro |
|---|---|
| Message-ID | <[email protected]> |
On 15-4-2014 4:48, hjxwho wrote: > Hi all, > I know this is a silly question but can someone tell how to make my service public? > I tried to make the name server public and did it in the following way: > 1. use ifconfig to find the address > 2. then, run the python -m Pyro4.naming -n 10.0.2.15 > > I tired to ping this server on another virtual machine, and it failed to locate the server. > > Can anyone tell me what I should do to make it correct? This is not really a pyro question, and there are too many variables and uncertainties here that you would have to answer to get a straight response from the list, but here's a list of things to investigate: - the obvious one: disabling firewalls or punching the correct holes in them - contacting the nameserver on the same box - can the vm's see eachother on their virtual network segment - tweak the vm virtual network adapter settings (bridged/nat/etc.) - can you telnet to 10.0.2.15 on the correct port? - can you access another service on that vm (such as the web server? ssh?) - is 10.0.2.15 even the ip address of the correct network adapter (one that is 'connected' to the outside world) Irmen. ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech