Reputation: 2664
I have recently started working with "Google Cloud Platform". I basically want to use it for my data science project. I have successfully setup Project, VM Instance, Firewall Rules etc.
I have installed Jupyter Notebook which is running on port 8888 and I have installed Apache tomcat server. Now, I want to access these via static external IP address of my VM but these aren't accessible when I mention static external IP address.
I have verified external path,, project HTTP(s) traffic enabled, firewall rules for Apache tomcat and Jupyter Notebook added and Ping to that external IP address is also working. In the image below, all the firewall rules for jupyter notebook and tomcat can be seen:
I tried to access by the following ways:
Any help in this regard will be a great favor. Happy Learning!
Update: November 10th, 2018 I can access the servers using the following URLs:
First these aren't accessible publicly (externally) and secondly issue while accessing the servers with static external IPs is still there.
Upvotes: 0
Views: 1868
Reputation: 1055
You seem to have done all steps for exposing a service to the outside, except I am guessing for one thing - Is Jupyter listening on loopback interface? Per Jupyter's documentation -
By default, a notebook server runs locally at 127.0.0.1:8888 and is accessible only from localhost. You may access the notebook server from the browser using http://127.0.0.1:8888.
The documentation provides information on how to make it accessible to the outside world. In short, to access the service has to bind to on all interfaces (ips).
Upvotes: 0