How to configure virtual host in Ubuntu 20.04 to access localhost:4567 by public ip address

Dear All

I’ve successfully installed sequenceserver in my Ubuntu 20.04 machine and it working under the localhost:4567 while accessing in my local machine. I followed all the steps for the integration with apache such as install Phusion Passenger and deploying ruby application.
Here is my virtual host and config.ru files tags
<VirtualHost *:80>
ServerName 192.168.1.43:4567
# Tell Apache and Passenger where your app’s ‘public’ directory is
DocumentRoot /var/lib/gems/2.7.0/gems/sequenceserver-2.0.0/public
PassengerRuby /usr/bin/ruby2.7
# Relax Apache security settings
<Directory /var/www/>
Allow from all
Options -MultiViews
# Uncomment this if you’re on Apache > 2.4:
Require all granted

require ‘sequenceserver’
SequenceServer::DOTDIR = “/home/akshay/.sequenceserver”

SequenceServer.init :config_file => “/home/akshay/.sequenceserver.conf”
run SequenceServer

I am not able to access sequenceserver via the public ip address http://14.139.244.59:4567

Thanks
Akshay Singh

I got this error message when click blast search button. http://14.139.224.59

{“message”:“Looks like there is a problem with the server. Try visiting the page again\nafter a while. If this message persists, please report the problem on our\n\nissue tracker.\n”,“title”:“System error”,“more_info”:“Permission denied to write to /home/akshay/.sequenceserver”}

Please suggest me what is the problem.

Thank You