Nextcloud works over wan but has html issues over lan

Nextcloud version (eg, 20.0.5): 20.0.9
Operating system and version (eg, Ubuntu 20.04): Ubuntu 20.04

I’ve setup my nextcloud on my ubuntu server and when trying to access the server locally over lan using the ip address (ie 192.172.3.4) chrome has issues displaying the page (I’m not using cloudflare) when accessing the server from outside of my network everything works perfectly. I’ve enabled all permissions for the site on chrome and tried reinstalling nextcloud. I apologize in advance as I am a beginner and will need specific command lines to fix, I appreciate any help you can give me. Thanks!

Screenshot:

Errors from chrome console:

login.js:1 Failed to load resource: net::ERR_CONNECTION_RESET
files_client.js:1 Failed to load resource: net::ERR_CONNECTION_RESET
main.js:1 Failed to load resource: net::ERR_CONNECTION_RESET
files_fileinfo.js?v=734e38a0:1 Uncaught ReferenceError: OC is not defined
at Object. (files_fileinfo.js?v=734e38a0:1)
at Object.675 (files_fileinfo.js?v=734e38a0:1)
at r (files_fileinfo.js?v=734e38a0:1)
at files_fileinfo.js?v=734e38a0:1
at files_fileinfo.js?v=734e38a0:1
merged-template-prepend.js?v=734e38a0:26 Uncaught ReferenceError: OC is not defined
at merged-template-prepend.js?v=734e38a0:26
index.js:24 Uncaught ReferenceError: OC is not defined
at Object.277 (index.js:24)
at r (bootstrap:19)
at bootstrap:83
at main.js?v=734e38a0:1
main.js?v=734e38a0:29 Uncaught ReferenceError: OC is not defined
at Module. (main.js?v=734e38a0:29)
at o (main.js?v=734e38a0:1)
at main.js?v=734e38a0:1
at main.js?v=734e38a0:1
script.js?v=734e38a0:492 Uncaught ReferenceError: jQuery is not defined
at script.js?v=734e38a0:492
files.js?v=734e38a0:122 Uncaught ReferenceError: jQuery is not defined
at files.js?v=734e38a0:122
user-a82fd95…:1 Failed to load resource: net::ERR_CONNECTION_RESET
DevTools failed to load SourceMap: Could not load content for http://ipredacted/apps/files_videoplayer/js/main.js.map: Connection error: net::ERR_CONNECTION_RESET
DevTools failed to load SourceMap: Could not load content for http://ipredacted/core/js/dist/files_fileinfo.js.map: Connection error: net::ERR_CONNECTION_RESET