Background server mode, outsiders can't connect.

I downloaded and installed the Shoddy server pack, and copied the dist and server folders, and the server.properties file in to the install dir. I then open up task manager, go to services tab, scroll down to the service with the name shoddybattle, right click it and click Start Service. I am able to connect with localhost, but not with the public host name. Everything works fine if I start the server with NetBeans.
 
Based on this,

I am able to connect with localhost, but not with the public host name. Everything works fine if I start the server with NetBeans.

you didn't copy all of the files over to the Shoddy Battle installation directory from your NetBeans directory. It's pretty obvious that it's running the server on a different port from the one you think it is, because it's not using the correct properties file, because you didn't copy the properties file over.

Read section 6 of the server guide very carefully.
 
I know its kinda old, but....


Like I said in my post, I am copying server.properties. Here is the log from wrapper.log It is the correct port.

Code:
STATUS | wrapper  | 2009/09/03 07:42:21 | --> Wrapper Started as Service
STATUS | wrapper  | 2009/09/03 07:42:21 | Launching a JVM...
INFO   | jvm 1    | 2009/09/03 07:42:21 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
INFO   | jvm 1    | 2009/09/03 07:42:21 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
INFO   | jvm 1    | 2009/09/03 07:42:21 | 
INFO   | jvm 1    | 2009/09/03 07:42:21 | Shoddy Battle (June 2007) - http://shoddybattle.com
INFO   | jvm 1    | 2009/09/03 07:42:21 |   By Colin James Fitzpatrick and Benjamin Gwin.
INFO   | jvm 1    | 2009/09/03 07:42:21 |   This program is free software.
INFO   | jvm 1    | 2009/09/03 07:42:21 |   Licensed under the GNU General Public Licence. No warranty.
INFO   | jvm 1    | 2009/09/03 07:42:21 | 
INFO   | jvm 1    | 2009/09/03 07:42:21 | Loading properties file...
INFO   | jvm 1    | 2009/09/03 07:42:21 | Loading metagame definition file...
INFO   | jvm 1    | 2009/09/03 07:42:21 | Checking for update...
INFO   | jvm 1    | 2009/09/03 07:42:21 | Loading pokemon database...
INFO   | jvm 1    | 2009/09/03 07:42:22 | Unimplemented intrinsic ability: Stall
INFO   | jvm 1    | 2009/09/03 07:42:22 | Loading move types for the Jewel generation...
INFO   | jvm 1    | 2009/09/03 07:42:22 | Initialising hold items...
INFO   | jvm 1    | 2009/09/03 07:42:22 | Loading masses...
INFO   | jvm 1    | 2009/09/03 07:42:22 | Connecting to database...
INFO   | jvm 1    | 2009/09/03 07:42:22 | Initialising random number generator...
INFO   | jvm 1    | 2009/09/03 07:42:22 | Loading battle mechanics...
INFO   | jvm 1    | 2009/09/03 07:42:22 | Creating server...
INFO   | jvm 1    | 2009/09/03 07:42:22 | Adding shut down hook...
INFO   | jvm 1    | 2009/09/03 07:42:23 | Saving mod data for download by client...
INFO   | jvm 1    | 2009/09/03 07:42:23 | Caching move sets...
INFO   | jvm 1    | 2009/09/03 07:42:23 | Unimplemented move: Natural Gift
INFO   | jvm 1    | 2009/09/03 07:42:23 | Unimplemented move: Recycle
INFO   | jvm 1    | 2009/09/03 07:42:23 | There are 2 unimplemented moves.
INFO   | jvm 1    | 2009/09/03 07:42:23 | The move library is 100% implemented.
INFO   | jvm 1    | 2009/09/03 07:42:23 | Running server...
INFO   | jvm 1    | 2009/09/03 07:42:23 | Loading ladder definitions...
INFO   | jvm 1    | 2009/09/03 07:42:23 | Opening a TCP/IP socket on port 50000...
INFO   | jvm 1    | 2009/09/03 07:42:23 | Opening a UDP socket on port 50000...
INFO   | jvm 1    | 2009/09/03 07:42:23 | Posting server to the metaserver...
INFO   | jvm 1    | 2009/09/03 07:42:23 | Starting chat logging thread...
INFO   | jvm 1    | 2009/09/03 07:42:23 | Server is running.
INFO   | jvm 1    | 2009/09/03 07:42:23 | Next rating update in 15 hours, 47 minutes.
INFO   | jvm 1    | 2009/09/03 07:43:50 | Shutting down...
STATUS | wrapper  | 2009/09/03 07:43:51 | <-- Wrapper Stopped
 
Back
Top