Re: ad-hoc web server



Did you DNAT?
~
I am not sure if I DNATed or not, but I did set up the router to
forward external requests on port 80 to the internal address of the
box (192.168.1.???) that was picked up using DHCP. I used to do that
same thing when I owned a domain name and I don't remember having any
trouble setting it up
~
Watch the error logfile check that the webserver uses the right location,
probably you have running a virtual host then you need the host: part in
http/1.1.
~
OK. What do you mean, when you say "check that the webserver uses the
right location"?
~
This is what I see when I run lsof
~
sh-3.1# lsof -i -n -P
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
pump 2725 root 0u IPv4 7650 TCP *:68 (LISTEN)
java 3622 root 10u IPv6 10823 TCP *:80 (LISTEN)
java 3622 root 18u IPv6 10826 TCP *:8009 (LISTEN)
java 3622 root 19u IPv6 10830 TCP 127.0.0.1:8005 (LISTEN)
~
lbrtchx
.



Relevant Pages

  • Re: apache weird GET
    ... > That's why I said they may be port scans. ... Perhaps you've enabled ProxyRequests on a virtual host ... > The config file used is the one I edit, ...
    (RedHat)
  • Re: Re: SSL problem + Apache 1.3.33
    ... The original poster back then had two IP-based virtual host sections ... for the same IP address, the first without a port specification, the ... HTTP setup ... ... I didn't get any feedback form the original poster. ...
    (Debian-User)
  • Re: Rewrite Rules, SSL, and .htaccess
    ... On Wed, 24 Mar 2004, davec wrote: ... Add a line to the virtual host for port 80 that says ... This will keep Apache from applying any of the .htaccess controls ...
    (Focus-Linux)
  • Re: MySQL communication around a firewall
    ... idea of communicating through another port. ... client must also have opened that port. ... Some places limit outgoing connections to only well-known ports, e.g. 80, ... to port 80 on a different host or virtual host? ...
    (comp.lang.java.programmer)