Very confused on how to get my evennia site online.

164 views
Skip to first unread message

zepd...@gmail.com

unread,
Jun 17, 2018, 8:23:12 PM6/17/18
to Evennia
What am I supposed to do to get my evennia site online for others? what code do I need to put into my settings for others to be able to access it?

Griatch Art

unread,
Jun 18, 2018, 2:25:15 AM6/18/18
to Evennia
Hi, did you check out our documentation on this yet? It's here: https://github.com/evennia/evennia/wiki/Online-Setup . If so, what particular part are you having trouble with?
.
Griatch

Vincent LE GOFF

unread,
Jun 18, 2018, 3:06:41 AM6/18/18
to eve...@googlegroups.com

Griatch,

I might be mistaken... but doesn't Evennia listen on 0.0.0.0 by default?  I didn't change the interfaces in my settings and yet, my server is perfectly reachable from the Internet, both for Telnet and Web.  If this is true (the online document might have to be slightly altered in this case), perhaps the problem is the server is unreachable even on the local machine, or a firewall blocks Evennia ports as is described on the online documentation?

If the latter, however, there's no telling how to solve this issue, many different firewalls and configuration are used.  It really depends on the hosting service.  Since I rent a Virtual Private Server without configuration, I set up iptables myself and opened the port 80, 443, 4000 and 4003, but other, more restrictive hosting services, will probably have a very different way to handle that.

Sorry I can't help more about it.  I would think the first step is to exactly diagnose the problem: can you access your Telnet server from localhost?  Can you access your Web server from localhost?  If so and you can't access either from Internet, it might indicate either a wrong interface setting as pointed out in the document, or a firewall that blocks these ports (in which case, you should look at your hosting service protection strategy).

HTH,

Vincent

--
You received this message because you are subscribed to the Google Groups "Evennia" group.
To unsubscribe from this group and stop receiving emails from it, send an email to evennia+u...@googlegroups.com.
To post to this group, send email to eve...@googlegroups.com.
Visit this group at https://groups.google.com/group/evennia.
To view this discussion on the web visit https://groups.google.com/d/msgid/evennia/a2fdecfa-fa9c-4d8f-9652-bcc14e272c42%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Griatch Art

unread,
Jun 18, 2018, 4:50:10 AM6/18/18
to eve...@googlegroups.com
@Vincent: Not sure the original poster had any specific problems, they were just wondering where to start, I think?

But anyway yes, Evennia will allow all interfaces (0.0.0.0) by default. Adding a specific IP to the interfaces is a security measure, it's not needed for it to work. I added that to do the docs for bigger clarity. Otherwise, yes - local firewalls and hardware routers are the most common reasons for not reaching the game, these are not something Evennia can have any control over though.


.
Griatch

zepd...@gmail.com

unread,
Jun 18, 2018, 12:07:09 PM6/18/18
to Evennia
I did read it. I dont understand what I need to do.

Can you please put the code I need to put into my settings file? 

Vincent LE GOFF

unread,
Jun 18, 2018, 12:49:32 PM6/18/18
to eve...@googlegroups.com

zepdemzep,


It seems there is nothing to do.  As long as your Evennia is running, and you haven't deactiv ate it, your webserver should run on a different port.  As was pointed out in the previous messages (and the online documentation) though, there's a nasty trick that could allow your game (including your webserver) to run on your server but not be accessible by others.  This really depends on what you use and how you have set them up.


Basically us, poor users, are mainly protected from the Internet as is.  Over-simplifying things, you can connect to websites, but someone else from the Internet cannot reach and connect to your computer.  What happens (again, in most cases) is that you have Internet access through a router (a box).  So when you are trying to access, say, www.google.com, your computer sends a request to your router, which opens a session just for you.  You use your router as a bridge to connect to the Internet.  But that's a one-way bridge most of the time: people don't see your computer on the Internet, they see your router.  And most routers don't allow random connections from the Internet.  (And yes, that was a very basic and not very accurate description.)


So how to solve that?  There are a few possibilities.  One way is to explain your router to allow random users to connect to your computer, using a specific ports.  Ports are kind of doors to a computer and they usually are linked to a service (like web, mail, and other things).  Again, this is not the entire story.  Most commonly though, you will want to get a server.  Google is not hosted on a personal computer as far as I know, but on one server probably a lot of servers, actually).  A server is a computer with a direct Internet connection.  It can connect to the Internet but others can connect to it too.  That's one reason we call them servers, they "serve" some data over the Internet.  Servers can host one or more services: like google.com might serve the web (so you can access www.google.com) but other services are also available.


In conclusion to this very simplified introduction: if you want to have others access to your game, there are a couple of solutions:


1. Try to create a direct connection from the Internet to your computer.  That means you will need to have your game running permanently (and I mean permanently).  If your computer crashes or shuts down or can't be reached for any reason, users might not appreciate it.

2. Get a server and have Evennia run as a service on it.  Actually more than one: Evennia will provide its game through the Telnet protocol (possibly one service), and an access to its website (possibly another service).  Servers are meant to be resiliant.  They don't often crash, they don't often get disconnected from the Internet.


How to get a server though?  This is very too much for just an email.  You might find your luck with Amazon Web Services (personally I've never tested).  I run on a Private Virtual Server (VPS), which is a server run as a virtual machine.  Without adding too many useless details, let's just add most of these servers aren't free, though they're not very expensive (the one I currently use is $5/month).  Evennia can hopefully run on a very broad range of systems and performances, it doesn't require a very powerful machine, so you don't have to worry about reaching the servers in the higher class.


I hope this helps a little.  Don't hesitate to ask further question (here or through my email address directly).  I'm not afraid to explain more, I just don't want to give you information you don't care about, or you already know about.


HTH,


Vincent

--
You received this message because you are subscribed to the Google Groups "Evennia" group.
To unsubscribe from this group and stop receiving emails from it, send an email to evennia+u...@googlegroups.com.
To post to this group, send email to eve...@googlegroups.com.
Visit this group at https://groups.google.com/group/evennia.

zepd...@gmail.com

unread,
Jun 18, 2018, 1:32:32 PM6/18/18
to Evennia
I have not added anything to the settings file. Its the same/normal one, how do I get other people to access it? 

Griatch Art

unread,
Jun 18, 2018, 2:05:13 PM6/18/18
to Evennia
I have reworked https://github.com/evennia/evennia/wiki/Online-Setup page to be a little easier on the beginner. So the first section there should hopefully be clearer and help you with what you need to know. Check it out!
.
Griatch

Vincent LE GOFF

unread,
Jun 18, 2018, 3:09:07 PM6/18/18
to eve...@googlegroups.com

zepdemzep,


I don't mean to drown you in abstract information.  I would like to give you a setting to add to your file to "make it work".  Alas, things are not often that simple.  It might not be that fun but I do encourage you to read the thread (or something else, there are tons of good resources online).  Griatch also has provided more instructions on the wiki, so you might want to check that.  I would like to give you a short and easy fix here, but the real magic is to learn how it all works!


Evennia online: https://github.com/evennia/evennia/wiki/Online-Setup


Good luck in your search and do ask if you're stuck somewhere.  The learning curve is worth it.

\

Vincent

Reply all
Reply to author
Forward
0 new messages