How to run my Vue + Node application on static IP [closed] - node.js

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I have created an application which I am running on my device with the local IP address. Now what I am trying to do is I want to access it through static IP so that if I am not connected to the same network I can access it through static IP. In turn, I can get this from Google when I type "my static IP" on Google.
Currently my app is running on localhost:8080 or '192.168..:8080' so whoever is connected to same server over same network is able to see that but I want to do it with static IP.

Now you should have to live this app on Heroku or an EC2 instance, then they will provide a public IP address.

So static IP just means an IP address that doesn't change. This can be local (the 192.168.x.x) or public (where you can access it from anywhere). There are some hosting options, and I'd recommend Heroku.
If this is your first time, you'll need to know some things like setting scripts for "postinstall" or setting up your Procfile, so take a look at this guide for deploying.
There are numerous other options as well for deployment with lots of information and tutorials you can Google pretty easily.

Related

Adding instances to Azure websites [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
From our Azure environment we are calling an external webservice which does IP filtering. We are currently running on two instances of our website and the outgoing IP addresses for those sites have been added to the FW on the external webservice.
If we need to scale out, by adding say 2 more instances, will/is there a risk the new instances get a new outgoing IP?
The website in itself has a fixed public IP (to allow for DNS), but we see that one of the instances gives a different IP, so if we setup autoscaling will we loose complete control (not that we have any) of that?
Please refer to http://social.msdn.microsoft.com/Forums/azure/en-US/fd53afb7-14b8-41ca-bfcb-305bdeea413e/maintenance-notice-upcoming-changes-to-increase-capacity-for-outbound-network-calls?forum=windowsazurewebsitespreview for the list of IP addresses that can be used for outgoing connections from Azure websites.

Testing private SaaS on EC2? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I would like to start doing some testing of our SaaS application on our EC2 instance and had some questions on how to test this outside of our local dev environment.
What are some of my options on making this private within EC2 to fully test the wildcard subdomains without making the site live?
Does this make sense?
You can use VPN to make EC2 subnet as part of your private network,Refer amazon document. Then a local DNS maybe needed to map wildcard subdomains or simple edit your host file.
Another suggestion is to only open service to your office's ip , redirect request from other IP to 404 etc.

Heroku app calling external web service on a VPN [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
So, we have a Heroku app.
We have a web service running on an intranet.
That intranet needs a VPN connection for outsiders to
connect.
We want our Heroku app to call the web service on the intranet, via
VPN.
How would you tackle this?
Some thoughts....
Heroku doesn't seem to have a VPN client we can activate on our app :(
I'm aware some routers can handle the VPN gubbins for us. Is there an online service that let's us setup a VPN proxy to our intranet site?
Thanks in advance
T
It's not going to be possible I'm afraid, certainly at least not via VPN. Heroku uses Amazon EC2 so you can't even narrow it down to an IP range to permit access. Heroku is a closed system so you can't install additional components so unless it's something accessible via http/https then it's a no go.
I think you could use a static ip address add on to ensure your app connected via that ip address.
https://devcenter.heroku.com/articles/quotaguardstatic
But I don't know how that gets you to a VPN.
If your company have Heroku Enterprise, looks like it could be done within Private Space:
[https://blog.heroku.com/heroku_private_spaces_are_now_generally_available_within_heroku_enterprise]
[https://devcenter.heroku.com/articles/private-spaces]
Otherwise the easiest way I could think of is to spin up an proxy server in your DMZ that is restricted access from your Heroku app... with setting static IP suggestion above from mooreds.

Domain forwarding or masking on local machine only? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I'm sad to have to ask this question, but I'm not even sure of what to call what I'm trying to do, so Google isn't much help.
I'm doing some work on a company website from outside the company's network. Some of the assets on the site are loaded from a domain that is only visible from inside the company's network (QA) but there is a mirror of those assets on a public domain. How can I mask or forward requests to this internal domain (e.g.: http://qa.example.com/image.png) to the mirroring external domain on my laptop? (e.g. http://www.example.com/image.png). This is similar to what can be done using the host file for IP addresses. The reason I want to do this is so that the images aren't broken as I work on the site outside the office, and changing all the references in the web files is not an option. I'm on OSX Lion.
Again, sorry, dummy question, please don't flame :S
Thanks!
If the mirroring host (http://www.example.com) doesn't use host headers, you can do it through the host file, by mapping qa.example.org to www.example.com.
This will have your browser ask the www.example.com host for the http://qa.example.org/image.png. If www.example.com is configured to use host headers to control content served it will see the mismatched hostnames and fail to serve the content. In that case you need something more powerful.

How do I setup a dyn-dns like service with a Custom domain? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Simply put, I have a domain xyz.com,
I want pc.xyz.com to point to my pc IP (which is dynamic)
any available solutions?
I need a Mac client to update the changing IP, and a service to run on my domain to get those updates.
Something like http://www.dyndns.com/
( I have a domain from Dreamhost if that helps..)
You can set up a CNAME entry so that pc.xyz.com is an alias to a dyndns name. I know that doesn't strictly answer the question of how to run a dyndns-like service yourself, but it will achieve the effect you described with a minimum of effort.
How to set up DNS service dynamic / static is a good place to start. Technically, the concepts are not difficult, but much easier if you use a DNS server that is able to use MySQL or some other database. For example: MySQL BIND SDB Driver ...
The project was started so that we could automatically create sub-domains for user's homepages on account creation.
By far this is the easiest approach and allows you to write a very thin client that can send a quick web request to your system to update the DNS based on your new IP ... Maybe even build your own REST API ...
You could combine cron (or, since you're using a Mac, launchd) and the DreamHost API to achieve the result you want, as described here.

Resources