General
How do I find out the IP address and port used by the server?
Right click on the server's tray icon. This will display the port and all of the
IP addresses that the server is accessible on.
My server isn't showing up in the server browser dialog
If your server isn't being discovered (which could be due to firewalls), you can
manually enter your server's IP address. The default port used by the server is
8805.
My server is showing up with the wrong IP address
This is generally caused by NAT, which masks the server's true IP address. You can
manually enter your server's real IP address.
I'm running a firewall, what ports do I need to open?
- 8805 - monotools-server.exe server
- 8806-8872 - application ports
If you want to use different ports, you can change them in the configuration files:
- /usr/lib/monotools-gui-server.exe.config for the GUI version
- /usr/lib/monotools-server.exe.config for the command line version
What are the passwords for the MonoTools virtual machine image?
- The default account is rupert/mono.
- The root account is root/mono.
Running on Mono
How can I see output/enter input to a console program?
- Go to the server
- Right click the Mono icon in the tray.
- Choose "Run in Terminal"
Now when you run your program, a console will appear on the server that you can
interact with.
Where does my application get put when I run/debug remotely?
Your application gets placed in: /tmp/monotools-{ProjectName}
I reference a .dll in the GAC in my web.config that isn't available when I run in
Mono
There are a couple of options here.
- Place a copy of the .dll in the Mono GAC:
On Windows:
mono gacutil -i MyAssembly.dll
On Linux:
gacutil -i MyAssembly.dll
- Add a project reference to the .dll:
- Right click on References.
- Add a reference to the .dll.
- In the properties for the .dll, set Copy Local = true.
- Place a copy of the .dll in your website's Bin folder
Packaging
Can I create packages for Ubuntu/Debian?
At this time, MonoTools only support creating packages for SUSE Linux and Red Hat
Linux (.rpm). Creating packages for Ubuntu/Debian (.deb) is something we will definitely
be considering for a future release.
How can I package a precompiled version of my web site?
If you are using the "Precompile Web Applications" option when running and debugging
your ASP.NET solutions, you should package a precompiled version of your solution
to ensure the same behavior within the packaged solution. This can be done in the
"Files" tab of Package Configuration wizard by clicking the "Precompile this website
to a temporary location and add files to list" link at the bottom of the form.
Note this is a static copy of your website. You will need to redo this each time
your website changes.