William Brogden wrote:How far have you gotten with Tomcat? Can you get Tomcat started and see the normal welcome page?
What is your operating system?
Which version of Java?
It is unclear from your post exactly where the problem may be.
Bill
William Brogden wrote:You say you have gotten a static IP address and your site domain name is mapped to it, right?
The next question is, how is your computer exposed to the Internet?
In my case I have a router which performs a NAT (Network address translation) so that incoming requests to one of my registered IP addresses is directed to the local network address of my server. ONLY for requests directed to port 80. The router prevents external requests from seeing any other machine on my network. Incidently, the router logs show daily attempts to telnet to my system by hackers, isnt the Internet fun.
If you don't have a router, your connection is presumably protected from external access by a firewall or other security software. You will have to configure that firewall to allow access to the port you want Tomcat to serve - presumably port 80.
Bill
I have a ADSL2 + router
Tomcat is a servlet container so you need to have a web server to access http requests
William Brogden wrote:
I have a ADSL2 + router
In that case it is time for you to chase down the details of configuring the router yourself. Try the manufacturer's web site.
I imagine that your Windows installation has firewall software and may prevent external requests from reaching your system. Again, it is time for you to investigate the details. I can't help you with your router/windows configuration as that is quite different from mine.
Bill
srinivas srinivasmeenavalli wrote:hi
Have you configured Tomcat with any webserver like Apche,or IIS. Tomcat is a servlet container so you need to have a web server to access http requests.you can configure Apache webserver to open your own jsp's , which are developed in Tomcat
check this
webpage
how do I configure TOMCAT with my domain name ?
William Brogden wrote:
how do I configure TOMCAT with my domain name ?
You dont have to unless you have multiple virtual hosts - not the usual situation. Tomcat just listens for requests, it assumes that the internet is directing requests to your computer correctly and that they are getting through your firewall.
Mapping your domain name to your IP address should be all that is required and that should be done by the domain name registry.
Are you sure that the port you configured for Tomcat to listen on is being passed by your firewall?
Bill
apache is the web sever which will server the incoming request right?
William Brogden wrote:Like I said, when properly configured, a running Tomcat will wait for an incoming request on the socket specified. Tomcat depends on:
Your registered domain name mapping to your IP address.
Your firewall allowing an incoming request to reach the specific port as used in the URL.
Tomcat being configured to listen to the specific port.
Thats really all there is to it. Tomcat IS the server software.
William Brogden wrote:Like I said, when properly configured, a running Tomcat will wait for an incoming request on the socket specified. Tomcat depends on:
Your registered domain name mapping to your IP address. [I have done this ]
Your firewall allowing an incoming request to reach the specific port as used in the URL.
Tomcat being configured to listen to the specific port.
A username and password are being requested by http://mount321.mine.nu. The site says: "DSL Router"
Do i have to configure tomcat with the domain name?
There are 10 kinds of people in this world. Those that understand binary get this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|