FreeNAS 11 jail using host ip address instead of its own

Status
Not open for further replies.

b4bblefish

Dabbler
Joined
Sep 15, 2017
Messages
15
I am currently trying to setup a webserver in a jail with the following specifications:

Version: FreeNAS 11-U3
host ip: 192.168.1.199
jail ip: 192.168.1.205

I installed apache24 in my jail, but on startup it is trying to bind to the host ip instead of its own jail ip address on port 80. When I specifically try to listen to 192.168.1.205:80 on apache startup I get an error that it is unable to listen on that port. However if I change the port to something freenas doesn't use like 8080 and just let it go to localhost, my jail is actually available at 192.168.1.199:8080. How do I get the jail to bind to its own ip?
 

b4bblefish

Dabbler
Joined
Sep 15, 2017
Messages
15
Yes, I actually think it has something to do with the fact that I'm ssh'd into the host. If i just bounce the jail with the service enabled it starts up on the right ip, but if i try to manually start it from being chrooted into the jail it tries to bind to host ip.
 
Status
Not open for further replies.
Top