• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

[SOLVEDkindof]i'm hosting, now how do i access over internet from non-local computer?

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok, so I installed apache tomcat 6 on windows vista.

I have it working, and the home page with links to examples and management page shows up when I go to link:

http://localhost:8080/

So I'm pretty sure I have it working the way it is supposed to. According to the config window, the service is started. So, as far as I can tell I should be hosting.

But, how do I access this over the internet? Do I have to register a dns or something?

This is what I have been trying...

http://myIPaddress:8080/

and I get typical link broken/can't display webpage error

I have also tried

http://myIPaddress/

but this just brings me to my router config page.

Do I need to configure my router? Register a DNS? I've spent the better part of a few hours searching for this info, and you would think that there would be tons of walkthroughs/trouble shooting pages on this, but I have yet to find any. Please help me out with some advice or at least point me to some useful resources.

Regards and thanks in advance.

[ December 18, 2008: Message edited by: david noneofurbus ]
[ December 18, 2008: Message edited by: david noneofurbus ]
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You need to tell your router to forward connections coming from the internet on port 80 to your local machine's port 8080. This site should get you started.
 
David Westbrook
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok, that gave me a lot of info, but I'm still having problems.

I set up static ip, and tried to set up port forwarding from this walkthrough:

http://portforward.com/english/routers/port_forwarding/Linksys/WRT350N/Apache.htm

It said I had to forward 80 to 80 and 443 to 443, but that didn't work so instead I just tried one row. I set the external port to 80 and the internal to 8080 and I put in the static IP I created. But I get the following message:

"Port overlap occurred! Please change your entry!"

I change the protocol from UDP to TCP and that doesn't give me error, but I am going to be using youtube api for my web app and possibly streaming video, so I'm pretty sure I am going to need UDP protocol as well. Any suggestions?

So this is my setting so far:

App name: Apache
External Port: 80
Internal Port: 8080
Protocol: TCP(Leaving this as both gives me "Port overlap occured!" error)
IP address : I just change this to the static IP I set up
Enabled: YES

Any resource or configuration suggestions would be appreciated.
 
David Westbrook
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i'm able to see my web server going here in web browser:

http://localhost:8080/

but when i try to access outside of my network:

http://myIPaddress:8080/

connection just times out.

I set up port forwarding on my router like this (NOTE: I set up TCP and UDP individually b/c when I try BOTH, I get Port Overlap error ):

Name: Apache1
External: 8080
Internal: 8080
Protocol: TCP
IP: A static IP that I created
Enabled: YES

Name: Apache2
External: 8080
Internal: 8080
Protocol: UDP
IP: A static IP that I created
Enabled: YES

I installed Apache Tomcat 6 w/defaults. Do I need to change Apache config? Is it possible my ISP is blocking port?
 
David Westbrook
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i'm able to see my web server going here in web browser:

http://localhost:8080/

but when i try to access outside of my network:

http://myIPaddress:8080/

connection just times out.

I set up port forwarding on my router like this (NOTE: I set up TCP and UDP individually b/c when I try BOTH, I get Port Overlap error ):

Name: Apache1
External: 8080
Internal: 8080
Protocol: TCP
IP: A static IP that I created
Enabled: YES

Name: Apache2
External: 8080
Internal: 8080
Protocol: UDP
IP: A static IP that I created
Enabled: YES

I installed Apache Tomcat 6 w/defaults. Do I need to change Apache config? Is it possible my ISP is blocking port?
 
David Westbrook
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
so, i guess the prob is not w/setting up my ports b/c my isp is going to block me no matter what i do (don't get comcast if you can help it)

i set up exact same apache install on my buddies server and it works fine for accessing outside of local network. so i guess you need to make sure it is even possible for you to host given your isp's restrictions.

thnx for help though, i def learned a lot even though i didn't achieve the desired result.
 
Sheriff
Posts: 67750
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"david noneofurbus", please check your private messages for an important administrative matter.
 
Bartender
Posts: 2856
10
Firefox Browser Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"dkwestbr" please see your private messages again.
 
Everybody! Do the Funky Monkey! Like this tiny ad!
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic