Skip to content
Arend van Beelen jr. edited this page May 27, 2013 · 6 revisions

If you have just compiled your own server, you can connect to it through telnet or using your webbrowser. The ports to connect to are displayed on the console when you start your server. By default, the following ports are used:

  • telnet: 4801
  • WebSocket: 4802 (you never need to manually connect to this port)
  • HTTP: 8080

If you want to use different port numbers, you can do so using the PT_TELNET_PORT, PT_WEBSOCKET_PORT and PT_HTTP_PORT environment variables.

To connect to the default telnet port from the same machine as from which you are running the server, use this command:

$ telnet localhost 4801

To connect to the default HTTP port using your webbrowser from the same machine as from which you are running the server, use this URL:

http://localhost:8080/

The first character you register on your own server will automatically become an admin.

Further Reading

Read how to create your own game or take a look at the Frequently Asked Questions.

Clone this wiki locally