Can you please give me a Step by Step instructions to set up TFS in such a way that my team can access it from anywhere in the world? - tfs

Basically, Me and my team are working in the geographically dispersed location,My teammate is is in USA and I'm in India. I've Installed the TFS on my development machine (Windows Vista) and I want to my team to access the same exact project which i'm working on anytime,anywhere.
We dont have any funds to buy a hosting account or We dont have funds to create a VPN Account from the internet (my ISP doesnt provide me one...awwww).

I don't run TFS, but this is more of an IT question than a TFS-specific one, I think.
My coworker showed me a trick that precludes the need for VPN, but is still secure. You'll need to set up your firewall to route traffic from one of your WAN IPs to an internal server that allows SSH access. These steps will be router and internal network-dependent.
Then download and install PuTTY or PortaPuTTY. Set up a profile that points to your public WAN IP and SSH port, and also add SSH tunneling to route a port on your local computer to the TFS server IP and port.
Let's say you choose a local port of 12345 and your internal TFS server IP is 192.168.0.100 and the TFS port is 1234. When you connect to TFS with PuTTY, instead of specifying its IP, you'll connect via localhost:12345.

Related

Cannot connect to tfsexpress

So first of all im not sure witch of these softwares does this i have a TFS express server for myself so i can do version control while not using internet services Like Github or VSTS. i also have Teamcity for autobuilds but when i want to connect to my tfs server outside of my network i use correct external ip (lets call it xxx.xxx.xxx.xxx:port) port is correct one that i set in the router to lead to correct port and ip in network. When i enter it starts loading and it actaly opens a login window but when i log in it redirects me direcly to internal ip and with that it fails.
additional info: I'm configuring TFS both with my internal IP and External IP. When i set public URL to external IP it works with outside my network but not inside my network

Possible to Change Jenkins URL? : http://localhost:8080

Possible to Change Jenkins URL? : http://localhost:8080
Currently I have jenkins setup on a virtual machine.
Is it possible to setup Jenkins on a URL which is more is accessible for other users?
For example I dont want other users to access test results by connecting to the Virtual machine instead I want them to access a URL from their own device in turn enabling them to login and see test results via jenkins.
thanks for you help
Let's say IP of your virtual machine is 192.168.x.x.
Open the Port 8080 via firewall and then change the URL of jenkins from
"Manage Jenkins >>Config Sys >> Jenkins Location>" to "http://192.168.x.x:8080"
Now you can access it from other machine on same network domain.Just have to hit the url http://192.168.x.x:8080
You can now create different users with different privileges for the same.
You can find it under Manage Jenkins >> Manage Users >> Create Users.
It is related to networking. The machines should be on the same network, so they can talk to each other (unless you have public IP).
The ONLY rule to give access is, that machines can talk to each other (of course, in their language, 0's & 1's).
I suggest following things to do to share the URL:
Ask the users to connect to the same network that your machine is in.
Verify whether they are able to PING your machine IP (get it from ipconfig command for windows - router assigns IP for your machine, that starts with 192.168 or 10.10). command example: ping 10.10.1.10
If any issues in Ping, it might be Windows Firewall or Anti-virus which might be blocking, so allow the IPs in your firewall so they can access your machine.
Then ask them to access Jenkins using the following URL http://[IP of your machine:8080]
We want the Jenkins web interface to be accessible from anywhere (not
just on the local machine), so we’re going to open up the config file:
sudo nano /usr/local/opt/jenkins-lts/homebrew.mxcl.jenkins-lts.plist
Find this line:
<string>--httpListenAddress=127.0.0.1</string>
And change it to:
<string>--httpListenAddress=0.0.0.0</string>
RF : Installing Jenkins on macOS

Jenkins Server - Issues with setting URL

I am trying to set up an internal Jenkins server for our QA team and facing some issues with the server URL. This is inside a corporate network and all sort of firewall and proxy settings are in place, however we need to access the server only with in our internal network. This server runs from a Mac Mini. I was able to install and access the server without any issues using localhost:8080.
I tried to set a custom URL (something like testjenkins.local:8080)under the Manage Jenkins option and never was able to access the server. The only option worked for me is with the IP address (IP:8080). I was able to access the server from other machines in the network using this URL.
The real problem with the above setup is that the machine IP changes(I am not able to make it static), and hence wont be able to get an always working URL.
Highly appreciate if any one guide me in the wright direction.
Given you have a dynamic IP on your server, a good alternative would be using ngrok. Ngrok can expose the port 8080 of that server to the internet via secure tunnels, and you can access it via an URL, so changes in the IP won't affect it.
However, ngrok exposes the server to the whole Internet. To make it accessible only for your team you can add authentication in both ngrok tunnel and Jenkins server (would it work for you?).

Issue accessing the TFS server though the web

I have TFS 2010 set up on TESTServer.
If I am on the server (logged in as administrator) I can access the web portal for TFS using the following
http://TESTServer:8080/tfs/web/
but when I am on my own computer still in the same network, when I try the same URL, I get challenged for a username and password. Even when I enter the administrator details, it does not accept them.
Also I tried the following
http://TESTServer:8080/services/v1.0/ServerStatus.asmx?op=CheckAuthentication
Which says the resource can not be found
* update***
I got it to work with the IP address... but if I ping the name it gets the correct IP address??
Any ideas?
Thanks
Since you cannot connect to http://TFSSERVER:8080/services/v1.0/ServerStatus.asmx?op=CheckAuthentication it could be that you have incorrect proxy settings in your organization. Could it be the proxy settings have changed?
Have you checked your host file for any entries regarding your TFS server?
Can you open a telnet session to port 8080 on your TFS Server?
Grant Holliday wrote a couple of steps you can do to troubleshoot TFS connection issues.

TFS SSL Setup over the internet

I am new to TFS and have been having issues with setting it up to be accessible on the internet.
I have set up TFS 2008 with SSL(HTTPS) on ports 8081, 81, and 17013 etc... for the respective services, on a single server deployment, with basic authentication, with server exposed as a DMZ by my router.
How can I access the TFS server outside my home if the ports are blocked on the network I am on, like those WIFI hotspots or in my company's network.
Please advice.
Cheers.
You can't. You'll need to use a port that isn't blocked. 443 should be a safe bet. If all else fails, and you don't care about moving your default websites (sharepoint, report server, etc) to another port, use 80.
NOTE: make sure you follow the TFS specific directions on MSDN. If you just start changing stuff in IIS Admin you will be very unhappy.

Resources