I am totally a network novice.
My plan is to do some simple low-bandwidth testing of a web server I have configured using Tomcat standalone technology. It runs on port 5050 and works as expected in "localhost" mode. My dlink dsl504T modem/router offers "port forwarding" to allow web users to access an IP address within the local network. The router has a fixed IP address and the router software allows one to divert designated port traffic to an local network IP address. The following entries were tried:
private IP: 10.1.1.3 (the computer running tomcat)
protocol: TCP (also offered UDP and BOTH)
port start: 80
port end: 80
port map: 5050
When an external web web user entered the fixed IP address of my router (preceded by "http://" prefix) there was no connection.
I am assuming that an http request coming to the router is received at port 80 by convention. I am assuming that router port 80 traffic is simply diverted to the local IP address and to port 5050 where tomcat is listening.
I have obviously got something wrong. Thanks if you can help.
Jump to Post
Well first thing that comes to mind that you didn't state. Are you running a web-server on the machine that the traffic is being forwarded to? If not it could be getting requests but doesn't have anything to send back. Also remember when your in your testing phase you may …
Jump to Post
Also I wouldn't recommend "assuming" the router is doing anything. It should be doing what you are telling it if the settings are correct, and forwarding traffic to the machine you designated as your web-server. Another thing you shouldn't need the http:// if you are trying to access directly through …
All 5 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.