server rename issue - repotools cannot connect to localhost - generateURLMappings
Mahari Hill (486●1●184●230)
| asked Jan 23 '15, 10:22 a.m.
edited Jan 26 '15, 10:56 a.m. by Paul Slauenwhite (8.4k●1●2)
CLM 405
Doing the generateURLmapping part for a server rename nets me: CRJAZ1356E The repotools command could not connect to the following server: 'https://localhost:9443/jts'. First, we use :9445 at our installation, second we have this machine's IP connected to localhost in the hosts file. Thoughts? |
Accepted answer
Ralph Schoon (63.5k●3●36●46)
| answered Jan 26 '15, 11:59 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I would consider to provide the repotools command the basic parameters it always needs: rpoURL, user, password so that it can initially connect to the repository. If you don't it tries to use default values that most likely not match your environment and comes up with that question. If you don't provide parameters at all, you can pipe the help output into a file to help you digesting it.
Mahari Hill selected this answer as the correct answer
Comments
Mahari Hill
commented Jan 27 '15, 1:32 p.m.
adding the repository command worked. It was not listed in the documentation for mapping a URL
|
One other answer
Was the JTS stopped when you ran the command? That is another cause.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
Changing localhost to another IP than loopback IP address 127.0.0.1 can have subtle side effects.
See theĀ wikipedia localhost description where you can find that the name localhost is reserved for loopback purposes by RFC 6761 (Special-Use Domain Names).
thanks,
I removed it, uncommented 127, tried ::1, same error for all 3.