02. Connecting two Viewers to your Region

Now that you have your standalone sim up and running, and after the initial euphoria has worn off, you may have noticed how lonesome it is in there. But before you invite someone to join you in your sim (which is a little involved, but hopefully explained clearly in the next tutorial), you might want to check that you can connect two viewers to your sim locally, both from one computer, and then from two computers (if you are using a home router). This is how to do it:

Step 1: Set the External Host Name
In your Bin/Regions folder you will find the default.xml file, right-click it and select Open With, and choose Notepad. The value you are looking for is external_host_name="". The value in the quotes is the IP address of the computer running the OpenSim server software. An IP address of is a special reserved address, and basically means THIS computer. We now need to be a bit more specific and refer to the server computer by its actual IP address. To find this out, go to Start, Run, and type 'cmd' (without the quotes) in the Open: box. A DOS window will open. Now, type the command IPCONFIG/ALL and hit Enter. This will reveal your machine's IP address. Make a careful note of this. A typical IP for a PC on a home LAN will have an address similar to (the router normally has a LAN-side IP address of But, whatever the IP address has been reported, enter it within the quotes following the entry external_host_name=, so it looks something like this: external_host_name=""

Step 2: Have two Viewers Installed
I hope you have a copy of the Second Life viewer and the Hippo viewer as I recommended in Tutorial 1 of the series (the link is there too).

Step 3: Create a Second User
Start the OpenSim server software, and when it has completed its startup and is ready you can then add another user. To do this, type the following command at the bottom of the server (DOS-like) window:

create user John Doe test 1000 1000

This command will create a new user, called John Doe (but this name can be anything you like), the password is 'test', but again, choose whatever you like. The X and Y coordinates should be the default 1000 1000, as you did when setting up the first user.

Step 4: Login Both Users
Start your first viewer, and use the login details of your first user, and Connect. You should be in. Start your second viewer, and use the login details of your second user. With any luck and a fair wind, you should now have two avatars in your region (but both occupying the same space, so move one of them).

Step 5: Login Both Users from two PCs
If you are using a home router, and have more than one PC on your home LAN, then you can try logging in two users from two different PCs. Simply install a viewer on the second PC If you are using the Hippo viewer, Add a new grid as explained in Tutorial 1, and change the loginuri to the same IP address as the external_host_name entry above, and of course follow it with the :9000 port number, so it looks something like this

If you are using the SL viewer change the target in the shortcut icon to look something like this:

"C:\Program Files\SecondLife\SecondLife.exe" -loginuri

Now login with the two viewers on the two PCs, using the two user accounts created. I would wait until one of the users is successfully logged in before attempting to log in with the other user on the other PC.

In the next in the series, I will explain how to log in to your standalone sim remotely.


  1. thanks for your tut,
    this is the way how we can use two viewer or user in the Os,but how i can import files with a tool,do i have to creat user name for a bot ?

    OS, VEV !

  2. Very helpful info, I have been going through the tutorials in order. On to the next and hopefully soon will be on the OSGrid.

  3. Thanx for your Tutorials
    I am setting up osgrid.opensim.v0.6.8849.
    Although I have connected a standalone Succesfuly, during Tutorial 1. I can not find the default.xml file in the bin/regions folder to edit for Tutorial 2.
    please redirect me

  4. default.xml no longer exists in the newer versions of opensim. You need to change the regions.ini file in bin/regions
    The setup looks similar, so just place your internal IP (192.168.x.x) where the default is.
    I think you also have to change SYSTEMIP to this internal address as well.

  5. I’m really lucky and so glad that after surfing the web for a long time I have found out this information. .


  6. i did this and i had to completely reinstall my grid cause now even my god account wont start.

  7. UPDATE: you have to replace the internal ip with your ip

  8. Im confused none of this is working for me. Is there anyway this could be updated and maybe a video of how to set it up also.

  9. And indeed, I’m just always astounded concerning the remarkable things served by you. Some 4 facts on this page are undeniably the most effective I’ve had.

    Business management software

  10. A commitment of thankfulness is all together for the comment. It's so attempting to update the perspective of men and ladies, who feel they ought to starve in isolation and demolition their bodies to the floor to see positive circumstances.
    Belastingen amsterdam

  11. Decent replies consequently of this inquiry with genuine contentions and clarifying about that.
    Best websites

  12. At this time it seems like WordPress is the preferred blogging platform available right now. (from what I’ve read) Is that what you’re using on your blog? Great post however I was wondering if you could write a litte more on this subject.

    Startup government