M
M
mkmister2017-12-29 12:54:51
Java
mkmister, 2017-12-29 12:54:51

How to open access to the local server on apache tomcat (java) from the outside?

The bottom line is that today you need to hand over the project, the java back-end is launched on my local (apache tomcat via idea) server and is accessible from the browser as follows localhost: 8090.
Actually, it’s worth saying that the whole thing is on a laptop and the connection is made through a router (and only this way, because otherwise, I can’t even do it for a while) TPLINK MR3420 router (actually mine).
What I tried to do:
1) opened port 8090 on the router
2) Set my PC on the network with a permanent address (192.168.0.23) (if I understood correctly to my poppy address for my router) 3) Added
a virtual server
6qp0r2k8U7aL7-83oiEdWFgvjEu-DDW-Bkm7EWCg
domain name foodstories.hopto.org and installed the corresponding utility (DUC) on my computer.
And configured:
6qp0r2k8U7aL7-83oiEdWBad46t_wT21RyxpR13N
Actually, when going to foodstories.hopto.org:8090/login, nothing worked. Please help me figure out how to set up access to the local server from the outside and set it up.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry Roo, 2017-12-29
@mkmister

Dynamic DNS only promises to resolve your domain address to your ip. But! If your provider, in turn, has not opened the port (s) to your machine, nothing will come of it. The ip of the provider will be allowed.
Dynamic DNS is useful if you get a white (available on all ports outside) but dynamic ip when you connect to the Internet, and is useless if you are behind a NAT provider (the so-called gray ip).

S
Saboteur, 2017-12-29
@saboteur_kiev

What does "open a port on the router" mean?
Where did you open it?
You need to map some port from the outside to your laptop + port.
Look on the router for port forwarding, it may be in the NAT setting and map that, for example, port 80 is mapped to your 192.168.0.23:8090

S
Sergey, 2017-12-29
@feanor7

Is there a direct ip? Request http://Your-ip:8090 what does it issue?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question