简体   繁体   中英

How to host the files in public port and access from Ubuntu?

Am very new to ubuntu and am using ubuntu for Jenkins. I have referred the below link and configured jenkins in ubuntu machine.

https://vexxhost.com/resources/tutorials/how-to-install-configure-and-use-jenkins-on-ubuntu-14-04/

Now, am stucking with host my files(like IIS in windows machines) in ubuntu machine in the port 8081. Since, Port 8080 is used by Jenkins.

While i searched, i found that we can't host the files in the ubuntu machine like windows machine. I have tried to create new port by creating rules. But my firewall has disabled and am unable to connect the ubuntu machine. Am trying to recover it.

Link i followed is https://askubuntu.com/questions/624214/open-ports-for-public

So, could anyone please help me about how to host or bring my files in the port 8081 and access it( Example: http://localhost:8081/index.html ) from ubuntu machine?

Thanks in advance!!! Please guide me on this by share your knowledge...

安装apache2并将端口更改为8081

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM