and when I enter the pi's ip address: 192.168.0.19:8080 into a web browser, I get connection refused. It is the same even on the raspberry pi, it refused to connect.
I've also tried using VNC Viewer with the ip address, and still get connection refused.
It looks like it obviously something on the raspberry pi, but I don't know what.
pi@raspberrypi:/ $ netstat -pant | grep :8080 (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN - pi@raspberrypi:/ $ sudo netstat -pant | grep :8080 tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN 452/motion pi@raspberrypi:/ $
Putting 127.0.0.1 into a web browser on the pi shows a kind of picture from the Microsoft Livecam HD 3000, but you can't make anything out.
Still refused connection in VNC Viewer
Also, according to the project write up, I was under the impression that captured pictures would be saved in the /media folder, but none are so far.
The daemon is only listening on localhost. You'll need to configure it to listen on more interfaces. How you do this is determined by the configuration of the specific daemon you're running.
VNC viewer running *on* the pi? or somewhere else?
assuming the former, try using localhost:8080, instead of 192.168.0.19:8080
that said, port 8080 is an unusual number to be running something that expects to speak vnc/rfb, sounds more like a non-standard http port, and you should be pointing a web browser on the pi to localhost:8080
I use 8000 (http) or 8443 (https) myself. Andy's point I think is that vnc is usually on port 5900 (or 5900 + N for the (N-1)th instance), so are you (OP) really sure it is supposed to be vnc traffic?
/etc/services is not a Linux thing, it's a Unix thing. I recall editing it for adding "well known" service names for the in-house software back when I was working with Solaris desktop computers.
That said, 8080 is convention, not law. My current /etc/services is system stock and does not have 8443, but you can find lots of people using it if you search. And my ISP offers Privoxy as a service. It's a privacy oriented HTTP proxy. They run it on ports 8008 and 8118, in two configurations (8118 blocks more stuff).
Make TCP you friend and you will understand when to use the well-known ports, when to use your own ports, and a good feel for why to use one or the other.
Elijah
------ finds only three "http" ports in /etc/services but many more in reality
Of course. I only omitted mentioning that because we're not talking about and of the other Unices. ==== As for documentation, I still think that, old is it is, there's little better than "Unix System Programming for SVR4" if you're serious about writing programs for Unix and its modern descendents.
And add a copy of "Linux/Unix in a Nutshell" to get you up to speed on general system organisation and use.
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.