Notifications
Clear all

[Solved] Navigating to localhost shows "This site can't be reached" error

1 Posts
1 Users
1 Reactions
143 Views
0
Topic starter

After bootstrapping successfully, navigating to localhost shows the error "This site can't be reached". How can I fix this so that I am able to access the application?

image
1 Answer
1
Topic starter

The easiest way to handle this issue is to create a mapping of your localhost to your "hostname" within your hosts file, then updating your instance to use this hostname as your server name instead. This requires Admin credentials to do as you will need to update the hosts file.

IMPORTANT - Ensure the value you use is all lowercase

  1. Find your PC's hostname by launching command prompt and executing "hostname"
  2. Navigate to "C:\Windows\System32\drivers\etc" directory. Launch the "hosts" file as admin
  3. Add an entry that maps 127.0.0.1 to "hostname". Replace hostname with your PC's hostname. This requires Admin credentials to do
    image
  4. Update the server.host.name value to "hostname" in the local.properties files found in the spec root and install-staging directories
    image
  5. Launch ant_dos.bat file
  6. CD to install-staging directory and run "ant reconfigure-ports"
  7. Once complete, check the SSO_APPLICATION table and change the old hostname value to your hostname. This needs to be done in both the SSOAP_CALLBACK_URL and  SSOAP_AUTH_URL columns. Should look something like below:
    image
This post was modified 23 hours ago by jcourter