Testing HTTP Interface with wget and curl

First check if the Iguana service is running using something like:

./iguana --service status

If it is not working then the question is why? One thing to check for is the presence of SELinux a security framework. It may be necessary to configure this to allow Iguana to run.

Then another thing to check is the IguanaServiceLog.txt file - you can see if there were issues listening on the port. This file is found in the working directory of Iguana typically something like:

/home/<user id>/.iNTERFACEWARE/IguanaX/<instance dir>/IguanaServiceLog.txt

You can test if IguanaX correctly running on its web port using either curl or wget. These are command line tools which can be used to pull down a file from a web server.

Most systems will have either curl or wget - you’ll need to see what the default tool is for your system. They can both operate with similar syntax:

wget http://localhost:7654/ curl http://localhost:7654/

These are both command line clients for web browsers - they are useful when you are on a server which doesn’t have a built in web browser like many Linux servers.

If these fail to connect then it’s indicative of a problem with Iguana listening on port its web interface. Things to check here are whether you can run Iguana at the command line like this:

 

Related pages