Error in connection establishment

Have installed neo4j Community Server 4.0.3 on server and can connect via the browser from my laptop on http://server_name:7474/browser

However I cannot log in or connect to the database and have noted the following errors in Edge developer tools (https://filebin.net/1byuyowbxit5rx97/neo4j.jpg?t=uf9rng8b)

Is it attempting to establish bolt connection on locahost rather than server_name?

Thanks

Yes, the ws:// indicates that it is a websocket connection.
Bolt uses this. You probably need to set the :

dbms.connector.bolt.listen_address=:7687

in the neo4j.conf to the public ip address of the server
or use

dbms.connector.bolt.listen_address=0.0.0.0:7687
to listen on all interfaces.

Doing this might be bad from a security viewpoint ;-)