LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-01-2016, 05:50 AM   #1
nadic
LQ Newbie
 
Registered: Jun 2013
Posts: 9

Rep: Reputation: Disabled
Port 80 access


Hi,

I've just installed onlyoffice document server by docker on Ubuntu Desktop. As docker tells me it uses ports: 80 and 443. I'd like to have it accessible in LAN. But connection to my Ubuntu Desktop machine (using ip address) with web browser doesn't work, neither from another PC nor this PC with service installed.
I've checked with nmap (nmap <ip_address>) that only port 22 is opened on the server.

Could you help with it?
 
Old 03-01-2016, 01:58 PM   #2
tlowk
Member
 
Registered: Nov 2003
Location: Belgium
Distribution: Slackware
Posts: 184

Rep: Reputation: 36
Since you mention docker, I assume that it runs in a docker container that needs to get an ip address (in that way it runs like a dedicated server)

I know on what docker is build, but I have no experience with docker. For the network namespace you'll need to have an ip inside the namespace and some device outside this namespace the bridges with your network interface.

on your machine you can run as root these three commands (the last one only give output if you are using namespace e.g., by docker)

/sbin/ip -a l
brctl show
/sbin/ip netns list

in case you have a public ip on this computer just put some XX's over part of that ip, since you don't need to get too much attention.

greetings

Tlowk.
 
Old 03-01-2016, 03:49 PM   #3
hoes
Member
 
Registered: Sep 2005
Distribution: debian, linux from scratch
Posts: 190

Rep: Reputation: 51
Also check that your firewall allows connections to 80 and 443
 
Old 03-01-2016, 07:48 PM   #4
coltree
Member
 
Registered: Nov 2003
Location: Jacobs Well, Queensland AU
Distribution: OpenBSD
Posts: 102
Blog Entries: 1

Rep: Reputation: 34
is the server only being accessed on the local network ?
got your local firewall ports open ?

or also via your router from the internet ?
also got your router ports forwarding ?

what is your command line to start docker onlyoffice documentserver
 
Old 03-01-2016, 07:49 PM   #5
coltree
Member
 
Registered: Nov 2003
Location: Jacobs Well, Queensland AU
Distribution: OpenBSD
Posts: 102
Blog Entries: 1

Rep: Reputation: 34
is the server only being accessed on the local network ?
got your local firewall ports open ?

or also via your router from the internet ?
also got your router ports forwarding ?

what is your command line to start docker onlyoffice documentserver
 
Old 03-02-2016, 02:52 AM   #6
Prehistorik
Member
 
Registered: Oct 2006
Location: St. Petersburg, Russia
Distribution: Ubuntu
Posts: 31

Rep: Reputation: 1
Can you also post the output of:

Code:
ufw status

Last edited by Prehistorik; 03-02-2016 at 02:56 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Access Denied when trying access a serial port RogerInHawaii Debian 1 08-20-2013 05:13 PM
how to access a networkin port and run script on that port??? hemanthm17 Linux - Networking 2 08-24-2010 03:41 PM
I/O Port Access idol007 Linux - Kernel 3 11-08-2006 02:11 AM
Port Access Fool Mandriva 4 02-21-2006 06:53 AM
Cannot access Port 80 arizona Linux - General 21 08-26-2003 01:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration