How do I access my web app from the Internet? - windows

I have deployed and run my app in glassfish v3 on my vps (running on windows web server). How do attach my app to my IP adress? (my domain is at use at the time so I need to access by IP)

I Managed to work it in glassfish app running!

Related

Setting up Laravel Octane using RoadRunner on a Production Server

I've installed the Laravel Octane RoadRunner Application Server.
It works flawlessly on my local Linux server, and I can access the application via 127.0.0.1:8000, but when I deploy it on an Azure VM, I am unable to access it via my IP address.
How do I set this up so that I can access the application using my IP address? (Port 8000 is open)

web service address for Jenkins on AWS Windows installed as a Windows Service

I have just installed Jenkins (as a Windows Service) on AWS Windows (Win Server 2012R2) instance.
I'm able to launch it via browser using http://localhost:8080
What url should I use to access this server from other client? I have tried http://:8080 or without the port number but my client (over the net) is failing to connect. The Public DNS of the AWS is also not working.
I set up another Jekins on AWS Ubuntu server with apache tomcat and it's connecting just fine using the Public DNS of the AWS Ubuntu server.

Turning laptop into a server to run spring tool suite over the internet

I am trying to run a website from my computer using Spring Tool Suite (STS). Using pivotal tc Server I can access this website that I made by running the server and using localhost:8080 as a url.
My laptop contains other software that is permitted to only run in the laptop and it is needed to run my code in Spring tool suite.(School policy to SSH's into another computer to get access to my database; it is a requirement)
How would I be able to access that website that is running in my laptop that uses pivotal tc Server. Please assume I know nothing about IP address and DNS. Also, assume that I can move my laptop around like a mobile device.
To solve this problem you need to tunnel to your local machine

Work with Web API and Windows Phone

I am developing a solution that is composed of two elements: a web server, which publishes some REST services, and a mobile client, which consumes those services.
To implement the REST services I have used the Web API technology.
When I start the web project in debug, everything works fine. I can use the services by pointing to localhost:63954/api. A weird fact: if I change "localhost" with "127.0.0.1" or with the LAN address of the machine, 192.168.xxx.xxx, the server does not answer anymore!
Then, when I start the Windows Phone client, which runs in a virtualized emulator, it fails to connect to the web server! Even if the two components are running in the same machine.
Obviously, in Windows Phone I cannot use the "localhost", since the localhost of the phone is the phone itself. So I'm trying to use the 192.168.xxx.xxx address which is the address of the machine that is running the web service. But the mobile phone emulator fails to reach the webservice.
I need to run the Web Server in Visual Studio 2012, since I need to debug it, and to make it reachable from the Windows Phone Emulator, but I do not know how to do it. Can you help me? Any idea?
Thank you so much,
Riccardo.
EDIT: By following the link found here (Binding IIS Express to an IP Address) and by turning off my firewall I can run the web application outside VS12 and I can make it reachable from other pc in the network, and so also from the WP emulator. This could be a work-around, but I cannot debug the REST service in VS in this way and this is not good...
The Windows Phone 8 emulator works as a separate machine on your network, with it's own IP address and configuration. Therefore, for the emulator to be able to access your service you will need to make sure that the port you are trying to access is open for inbound connections.
As you mentioned the windows phone is running seprate in your client machine,One way of solving this problem is ,Binding your machine's Ip address to the Web Api,SO the Web api can be accessed using the Machine's Ip address.You can Bind the ip address to the project by using Microsoft Webmatrix.
So,You can access the web Api using the Ip address.Hope this helps.

VPN with AppHarbor

I want to migrate my app from Rackspace to AppHarbor, but my app depends on a database that is only accessible via VPN. Can I set up a vpn connection between our app at AppHarbor and a secured internal database?
You can limit to your database server to the set of IP addresses used by AppHarbor application servers.

Resources