Could not create webserver: For input string: "example.com"

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

Fisheye/Crucible fails to start. The following appears in the atlassian-fisheye.log:

1 INFO | jvm 1 | 2013/12/18 17:57:42 | 2013-12-18 17:57:42,184 ERROR - Could not create webserver: For input string: "example.com"

Cause

This error happens if the config.xml file is not correctly configured having the XML http-bind defined as a URL instead of a combination of hostname and port (hostname:port) or just port.

Resolution

  1. Stop Fisheye/Crucible if it is running.

  2. Correctly define http-bind in $FISHEYE_INST/config.xml:

    1 2 3 <web-server> <http bind=":8060"/> </web-server>
  3. Start the application.

See Configuring the Fisheye web server for more details.

Updated on April 11, 2025

Still need help?

The Atlassian Community is here for you.