Cannot connect to localhost from another machine
An Nguyen Truong (6●1●1●2)
| asked Sep 11 '13, 4:38 a.m.
retagged Sep 16 '13, 9:43 a.m. by Ralph Earle (257●3●9)
i create a repository connection (URI: https://localhost:9443/ccm/; Name: localhost) with ID and password is OK when i use my computer. But i don`t create a repository connection on other computer (installed jazz team sever and RTC client) with that ID and password. help me!
|
Accepted answer
localhost as URI does work only for your local host.
To colaborate with others, the Jazz Team Servers URI needs to be the fully qualified hostname. Look here for more details. Avoid using host names that cannot be resolved with a DNS: Avoid host names such as "localhost" or an IP address. An Nguyen Truong selected this answer as the correct answer
Comments what do i must do? when i want to create a repository connection on other computer with URI: https://localhost:9443/ccm/; Name: localhost and my ID, password. Because i want to connect my project when i use other computer. i want to see collaboration of RTC.
|
One other answer
An,
If this is just for testing you need to use at least a host name in the URI to access it from other servers. https://myhost:9443... If that host can't be found via dns you can add that host and IP address to the hosts file of any client that wants to access that server. You should also add it to the server's hosts file as well. Hosts file example: 9.44.23.24 myhost Where "myhost" it what you used in the the RTC public URI I have seen some people test using the IP address: https://9.44.23.24:9443/jts but if your server uses DHCP that will be a problem if the IP address changes at some point. If you have already set up using localhost the easiest fix would be to reinstall with a proper host name. When performing the setup yous should also access the server using the hostname that will be used in the URL Comments i want to connect my project when i use other computer.
@hoangphihong106: I would suggest that you learn more about your hosts file, host names, and aliases. It will help explain why you're seeing what you're seeing and it will help you figure out a solution.
An Nguyen Truong
commented Sep 11 '13, 11:14 a.m.
thank you
An Nguyen Truong
commented Sep 24 '13, 3:36 a.m.
how is my IP address find? now is my computer server for other computers connect ?
how is my IP address find? now is my computer server for other computers connect? what do I must do to other computer connect with my project ?
localhost name resolution is handled within DNS itself.
::1 localhost
|
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.