I'm trying to access an API (created with visual studio WebAPI) on a remote computer.
I've followed this guide (https://www.codeproject.com/Articles/805238/Access-IIS-Express-Website-From-Remote-Machine), and I can now access it locally with http://IP:Port but not remotely. But it works when I disable the Firewall on my local PC, however I don't want it to be ad vitam aeternam opened
I've opened the port for ISS express like so in the guide, but it seems I need to open something else, I tried TCP and UDP inbound/outbound (TCP inboud was the one I opened with the guide), but it still don't work.
Thanks for your help.
Related
I built a signalR service that my WPF application uses and in development everything worked fine (since its running locally).
When it came to test environment, when I published it (on remote windows server 2008 r2 as windows service) I had error connecting.
The service runs on port 8080 and when I tried to run it on port 80 (I had to remove IIS for that) it worked fine so I assume its firewall problems.
I need an explanation of how to make it work (I had in mind that maybe because its duplex connection things work different) and since its for intranet app i'll have to ask my IT manager for opening these ports,
I'm trying to connect Visual Studio 2013 to TFS 2013 from a different machine, but it's giving me error:
(TF31002: Unable to connect to this Team Foundation Server).
The Server's IP is working, so the server is online, I've tried things such as turning off Firewall, starting VS as Administrator and it doesn't seem to work.
It's the first time I'm working with TFS, am I missing something?
Thanks in advance.
Try connecting via telnet, e.g telnet yourserver 8080 at the command prompt: this checks if the client has TCP/IP connectivity. Telnet client is not installed by default in Windows, so you may have to turn the corresponding Windows Feature on.
If previous check passes, open the Home page in a browser, e.g. http://yourserver:8080/tfs. If the browser is not configured for Integrated authentication, you will receive a prompt for credential. Insert a valid user and the home page should appear.
Consider which credential you are using: if TFS server is in workgroup, use an account defined on the TFS server; if TFS server is joined to Active Directory, use an account from the same domain. In any case the account must be part of TFS Valid Users group.
Please help me with my noobish problem
I have laptop at home. I installed MS Windows Server 8 Beta on it, Visual Studio 11 Beta and MS Team Foundation Server 11 only for version control of my application, which I want to change at home (where my laptop-server is) and at work (where my another Visual Studio 11 Beta is).
So my major problem is that I can't easily expose my [home] TFS Server on Internet that I can see it from my work computer :(
I installed TFS Proxy, which generated a proxy URL for me like this: http://win-jnkseeeq4rl:8081/ (which works on LAN)
But of course, I can't get it to work on another (work) computer through Internet, because it doesn't resolve this kind of host.
At home I've got WiFi-router through which my laptop connected.
I think I must expose some ports on it, but I don't know how and is this a main problem really.
Thank you everyone for answers!!!
I run a TFS at home to support my consulting and have setup Remote Access Services using the PPTP protocol to run my inbound VPN. You generally just have to enable PPTP passthrough (GRE protocol) and forward TCP/1723 to your RAS server.
I also use Dynamic DNS to help find my public IP if it ever changes.
But I have to be honest, have you considered just using the TFSPreview.com service instead? I haven't switched over completely yet because I've already built my infrastructure and it's still a beta service but I could see myself doing it in the future.
Have you looked at the walkthrough here => http://msdn.microsoft.com/en-us/library/bb668967.aspx
There is a similar question here, How to access VS 2010 TFS over the internet from remote office
SOLVED: Turns out the people not being able to access TFS via VS2010 were using laptops, I didn't put two and two together, and Symantec Endpoint was blocking the ports required.
Some users cannot get to the TFS 2010 server, secured by SSL, from team explorer but can via IE.
For example, I go into VS2010 SP1 and attempt to add a new server, it sits there for a while and then spits out a dialog that basically tells me "Unable to connect to the remote server". If I enter the exact same URL into IE I get access perfectly.
So
https://tfserver:8088/tfs (custom SSL port number) in IE and I get full access
The same detail entered into the add server results in
Any ideas?
Connect to tfspreview through VS2010, you need to install following things :
VS SP1: http://www.microsoft.com/download/en/details.aspx?id=23691
KB2581206: http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=39070
Edit: These links are no longer available. The update is now only provided through windows update. See here
KB2662296: http://support.microsoft.com/kb/2662296
I need to do remote debugging of managed code (.NET) on a server hosted on a different network. Neither the client or server is on a domain so i have to use the public ip of the server.
I'm trying to use Visual Studio -> Attach to process -> default transport with the qualifier john#xx.xx.xx.xx but it's not working.
I get the error message : "Unable to connect to the Microsoft Visual Studio Remote Debugging Monitor named 'john#xx.xx.xx.xx'. There is no server by the specified name running on the remote computer"
This error message tells me i can connect just fine but it can't find the msvsmon instance (which is 'john#WEB-001'). So i tried to use the combination of qualifiers such as WEB-001\john#xx.xx.xx.xx and xx.xx.xx.xx\john#WEB-001 but neither are working.
If I choose the transport "Remote (Native only with no authentication)" it connects just fine and I can see the process list on the server but it is pretty much useless because I can't debug managed code.
The administrator 'john' exists on both computer with the same password
Windows 2008 R2 X64 (Server)
Remote debugging component (VS2010) X64 installed
Firewall off
Msvsmon new server named 'john#WEB-001' running as john
Windows 7 X64 (Client)
Visual studio 2010 running as john
Firewall off
Any idea how to fix this, or is this scenario not supported? Thanks
having you tried putting web-001 in your hosts file, and connecting as john#web-001?
Try adding the server name to your hosts file:
192.168.1.100 WEB-001
Replace the IP with your own. Native code debugging is done over plain TCP/IP with no security but native code requires DCOM to enforce security, I don't understand the reason but ....
I know this is an old thread now but.
When the remote debugger is first installed you can set a firewall setting that allows all web traffic or only subnet connections. Run the configuration again to allow all web traffic.
Also, as the Administrator account, not a user in the Administrator group, Shift+r-click on the debugger shortcut to execute as a different user. Enter in the other user account that has the same username and password as the machine you are debugging with, in this case john.
This is the process I have to use.