Cuberite Forum
Problem running Cuberite parallel to Apache2 Webserver on Raspberry Pi - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Discussion (https://forum.cuberite.org/forum-5.html)
+--- Thread: Problem running Cuberite parallel to Apache2 Webserver on Raspberry Pi (/thread-2420.html)



Problem running Cuberite parallel to Apache2 Webserver on Raspberry Pi - Nas3nmann - 04-02-2016

Hi guys,

i have a Problem with my freshly installed Cuberite Setup.
I'm using a raspberry pi B+, which is already running an Apache2 Server with a website automation for my fishtank. Simultaniously i wanted to use it as a minecraft server.
Compiling from source (github) worked for me but i could not reach port 8080 of the pi via my browser -> permission denied. I first tried messing with my iptables allowing all traffic on this port with no success. Using 
Code:
netstat -lptn
 i found that my fishtank camera stream uses crtmpserver on port 8080. Stopping this service did not help either. 
Any of you guys have an idea why i cant open the http page? 
Thanks in advance!


RE: Problem running Cuberite parallel to Apache2 Webserver on Raspberry Pi - Seadragon91 - 04-02-2016

Did you tried that? Change the port for the webadmin in the file webadmin.ini.


RE: Problem running Cuberite parallel to Apache2 Webserver on Raspberry Pi - Nas3nmann - 04-02-2016

yes i changed it to port 8081, also entering it in the browser of course, with no success.


RE: Problem running Cuberite parallel to Apache2 Webserver on Raspberry Pi - LogicParrot - 04-05-2016

1. Make sure the port you picked is unused by other programs.
2. Make sure the port you picked is above 1024
3. Make sure you restarted Cuberite after changing the settings
3. The IPTABLES command for allowing access to the port is:

iptables -I INPUT -p tcp --dport <chosen port> -j ACCEPT

4. You should now be able to login from your browser by visiting:

<Raspberry Pi LAN IP>:<chosen port> # If browser is on a remote machine on same network

localhost:<chosen port> # If browser is on the raspberry pi.



RE: Problem running Cuberite parallel to Apache2 Webserver on Raspberry Pi - Nas3nmann - 04-12-2016

Hi everyone,

thanks for all the suggestions. I could solve the issue, but i dont know what caused it. I just recompiled cuberite and set the webadmin port to 8888. After some time i could access it from remote...

thanks guys