Look at this screenshot:
Put in 8000 for the portnumbers and put in localhost instead of mail.tralala.org . That will do it. Then you can connect from your local PC to "localhost:8000" and you will end up connecting to your trac server at port 8000.
Do not forget to click the Add button.